手机版
热门标签
站点地图
我要投稿
广告合作
联系我们
搜 索
广告位招租
广告位招租
切换导航
首页
编程教程
编程导航
编程百科
编程问答
编程博文
编程实例
硬件设备
网络运营
软件教程
移动数码
办公软件
操作系统
人工智能
栏目导航
▸ 编程语言
▸ 前端开发
▸ 移动开发
▸ 开发工具
▸ 程序设计
▸ 行业应用
▸ CMS系统
▸ 服务器
▸ 数据库
公众号推荐
微信公众号搜
"智元新知"
关注
微信扫一扫可直接关注哦!
子栏目导航
php实例代码
Javascript实例代码
python实例代码
Shell实例代码
Sql实例代码
正则表达式实例代码
Python函数
Java实例代码
C#实例代码
C语言实例代码
C++实例代码
Erlang实例代码
Dart实例代码
D3.js实例代码
D语言实例代码
CSS实例代码
Cobol实例代码
Clojure实例代码
Bootstrap实例代码
Vue实例代码
Angular实例代码
汇编语言实例
编程之家
Erlang实例代码
Erlang atom_to_binary函数
-module(helloworld). -export([start/0]). start() -> io:fwrite("~p~n",[atom_to_binary('Erlang', utf8)]).
作者:编程之家 时间:2022-07-04
Erlang list_to_atom函数
-module(helloworld). -export([start/0]). start() -> io:fwrite("~p~n",[list_to_atom("atom1")]).
作者:编程之家 时间:2022-07-04
Erlang atom_to_list函数
-module(helloworld). -export([start/0]). start() -> io:fwrite("~p~n",[atom_to_list(atom1)]).
作者:编程之家 时间:2022-07-04
Erlang is_atom函数
-module(helloworld). -export([start/0]). start() -> io:fwrite(atom1), io:fwrite("~n"), io:fwrite("~p~n",[is_atom(atom1)]).
作者:编程之家 时间:2022-07-04
Erlang原子
-module(helloworld). -export([start/0]). start() -> io:fwrite(atom1), io:fwrite("~n"), io:fwrite(atom_1),
作者:编程之家 时间:2022-07-04
Erlang文件list_dir
-module(helloworld). -export([start/0]). start() -> io:fwrite("~p~n",[file:list_dir(".")]).
作者:编程之家 时间:2022-07-04
Erlang文件读取
-module(helloworld). -export([start/0]). start() -> Txt = file:read_file("Newfile.txt"),
作者:编程之家 时间:2022-07-04
Erlang列表sum
-module(helloworld). -import(lists,[sum/1]). -export([start/0]). start() -> Lst1 = [5,6,4], io:fwrite("~p~n",[sum(Lst1)]).
作者:编程之家 时间:2022-07-04
Erlang列表sublist
-module(helloworld). -import(lists,[sublist/2]). -export([start/0]). start() -> Lst1=[5,6,4], io:fwrite("~p~n",[sublist(Lst1,2)]).
作者:编程之家 时间:2022-07-04
Erlang列表sort
-module(helloworld). -import(lists,[sort/1]). -export([start/0]). start() -> Lst1=[5,6,4], io:fwrite("~p~n",[sort(Lst1)]).
作者:编程之家 时间:2022-07-04
Erlang列表reverse
-module(helloworld). -import(lists,[reverse/1]). -export([start/0]). start() -> Lst1 = [1,2,3], io:fwrite("~p~n",[reverse(Lst1)]).
作者:编程之家 时间:2022-07-04
Erlang列表nthtail
-module(helloworld). -import(lists,[nthtail/2]). -export([start/0]). start() -> Lst1 = [1,2,3], io:fwrite("~p~n",[nthtail(2,Lst1)]).
作者:编程之家 时间:2022-07-04
Erlang列表nth
-module(helloworld). -import(lists,[nth/2]). -export([start/0]). start() -> Lst1 = [1,2,3], io:fwrite("~p~n",[nth(2,Lst1)]).
作者:编程之家 时间:2022-07-04
Erlang列表合并merge
-module(helloworld). -import(lists,[merge/1]). -export([start/0]). start() -> io:fwrite("~w~n",[merge([[1],[2],[3]])]).
作者:编程之家 时间:2022-07-04
Erlang列表min
-module(helloworld). -import(lists,[min/1]). -export([start/0]). start() -> Lst1 = [1,2,3,4], io:fwrite("~w~n",[min(Lst1)]).
作者:编程之家 时间:2022-07-04
Erlang列表member
-module(helloworld). -import(lists,[member/2]). -export([start/0]). start() -> Lst1=[1,2,3,4], io:fwrite("~w~n",[member(3,Lst1)]).
作者:编程之家 时间:2022-07-04
Erlang列表max
-module(helloworld). -import(lists,[max/1]). -export([start/0]). start() -> Lst1 = [1,2,3,4], io:fwrite("~w~n",[max(Lst1)]).
作者:编程之家 时间:2022-07-04
Erlang宏
-module(helloworld). -export([start/0]). -define(a,1). start() -> io:fwrite("~w",[?a]).
作者:编程之家 时间:2022-07-04
Erlang嵌套记录
-module(helloworld). -export([start/0]). -record(person, {name = "", address}). -record(employee, {person, id}).
作者:编程之家 时间:2022-07-04
Erlang更新记录的值
-module(helloworld). -export([start/0]). -record(person, {name = "", id}). start() -> P = #person{name = "John",id = 1},
作者:编程之家 时间:2022-07-04
Erlang访问记录的值
-module(helloworld). -export([start/0]). -record(person, {name = "", id}). start() -> P = #person{name = "John",id = 1},
作者:编程之家 时间:2022-07-04
Erlang tuple_to_list
-module(helloworld). -export([start/0]). start() -> io:fwrite("~w",[tuple_to_list({1,2,3})]).
作者:编程之家 时间:2022-07-04
Erlang list_to_tuple
-module(helloworld). -export([start/0]). start() -> io:fwrite("~w",[list_to_tuple([1,2,3])]).
作者:编程之家 时间:2022-07-04
Erlang is_tuple函数
-module(helloworld). -export([start/0]). start() -> P = {john,24,{june,25}} , io:fwrite("~w",[is_tuple(P)]).
作者:编程之家 时间:2022-07-04
Erlang元组
-module(helloworld). -export([start/0]). start() -> P = {john,24,{june,25}} , io:fwrite("~w",[tuple_size(P)]).
作者:编程之家 时间:2022-07-04
Erlang映射remove
-module(helloworld). -export([start/0]). start() -> Lst1 = [{"a",1},{"b",2},{"c",3}],
作者:编程之家 时间:2022-07-04
Erlang映射values
-module(helloworld). -export([start/0]). start() -> Lst1 = [{"a",1},{"b",2},{"c",3}],
作者:编程之家 时间:2022-07-04
Erlang映射put
-module(helloworld). -export([start/0]). start() -> Lst1 = [{"a",1},{"b",2},{"c",3}],
作者:编程之家 时间:2022-07-04
Erlang映射merge
-module(helloworld). -export([start/0]). start() -> Lst1=[{"a",1},{"b",2},{"c",3}],
作者:编程之家 时间:2022-07-04
Erlang映射keys
-module(helloworld). -export([start/0]). start() -> Lst1 = [{"a",1},{"b",2},{"c",3}],
作者:编程之家 时间:2022-07-04
上一页
1
2
3
4
5
下一页
小编推荐
热门标签
更多
python
JavaScript
java
HTML
reactjs
C#
Android
CSS
Node.js
sql
r
python-3.x
MysqL
jQuery
c++
pandas
Flutter
angular
IOS
django
linux
swift
typescript
路由器
JSON
路由器设置
无线路由器
h3c
华三
华三路由器设置
华三路由器
电脑软件教程
arrays
docker
软件图文教程
C
vue.js
laravel
spring-boot
react-native