- 浏览: 37573 次
- 来自: 深圳
文章分类
最新评论
-
ZacMa:
哈哈,突然感觉里面没怎么介绍,全是贴代码了
<8>redis及erl-redis阅读 -
惊涛翻案:
马博士,给我开课吧
<8>redis及erl-redis阅读
1) badarg Bad argument. The argument is of wrong data type, or is otherwise badly formed.
参数错误,例如
erlang:exit(aa, zz).
2) badarith Bad argument in an arithmetic expression.
数字匹配错误,例如
2+a.
3)
{badmatch,V} Evaluation of a match expression failed. The value V did not match.
1> A = 3.
3
2> A = 4.
** exited: {{badmatch,4},[{erl_eval,expr,3}]} **
在我的shell中是这样
5> A = 3.
3
6> A = 4.
** exception error: no match of right hand side value 4
4)
function_clause No matching function clause is found when evaluating a function call.
没有匹配的函数
在文件test.erl 58,59行
58 t3(a) ->
59 {ok, t3}.
test:t3(b).
** exception error: no function clause matching test:t3(b) (test.erl, line 58)
5)
noproc Trying to link to a non-existing process.
6)
undef The function cannot be found when evaluating a function call.
参数错误,例如
erlang:exit(aa, zz).
2) badarith Bad argument in an arithmetic expression.
数字匹配错误,例如
2+a.
3)
{badmatch,V} Evaluation of a match expression failed. The value V did not match.
1> A = 3.
3
2> A = 4.
** exited: {{badmatch,4},[{erl_eval,expr,3}]} **
在我的shell中是这样
5> A = 3.
3
6> A = 4.
** exception error: no match of right hand side value 4
4)
function_clause No matching function clause is found when evaluating a function call.
没有匹配的函数
在文件test.erl 58,59行
58 t3(a) ->
59 {ok, t3}.
test:t3(b).
** exception error: no function clause matching test:t3(b) (test.erl, line 58)
5)
noproc Trying to link to a non-existing process.
6)
undef The function cannot be found when evaluating a function call.
发表评论
-
erlang版本安装相关问题 <32>
2014-05-10 15:54 581<1> erlang R1603安装后,crytp ... -
关于iolist<30>
2014-01-15 10:42 586iolist是比较常用的数据结构. iolist的 ... -
erlang 字符编码 <29>
2014-01-14 16:31 1228用mochiweb通过网页发送中文到服务器,结果服务器显示乱码 ... -
<27>erlang record
2013-11-19 11:19 738平时总是忘记record的某些使用方法,每次使用都要翻文档, ... -
<26>io:format io_lib:format
2013-11-14 11:07 1277使用io_lib时候要注意参数,尤其是封装json串的时候,否 ... -
<24>用error_logger间隔记录日志
2013-10-22 16:09 628执行下面的代码 test:start(). test.erl ... -
<23>erlang 数据存储
2013-10-15 22:15 1624做为后端开发者,经常 ... -
<22> erlang中的数学计算函数相关
2013-10-10 10:34 15961. 幂函数 match:pow(m,n) 表示m的n次幂 ... -
<20>erlang中的类型和函数说明
2013-09-15 11:25 936erlang是一种动态类型的语言(运行时才决定数据类型),可以 ... -
<19>erlang中的时间,日期
2013-09-06 11:21 1163时间函数涉及的数据类型: DATA TYPES datetim ... -
<18>Efficient guide 之List handling
2013-08-31 18:45 6421 Deep and flat lists lists:fl ... -
<17>Efficiency Guide之Function
2013-08-27 22:30 5491. 函数模式匹配 模式匹配,在函数头,case和receiv ... -
<16>Efficiency Guide之Common Caveats
2013-08-11 11:07 767(1) ++ 如果做一个list的反转,不要这样, naiv ... -
<15> lists模块补充
2013-08-05 20:12 799%% 对list模块经常用到的进行补充 %% 1 对所有元素进 ... -
<15> lists模块解析和补充
2013-07-24 17:57 12%% 对list模块经常用到的进行补充 %% 1 对所有元素 ... -
<11>erlang中方便使用的模块和命令(2)
2013-04-06 22:33 757(1) 进程字典到底用不用,很多人推荐使用 http:// ... -
<9>rabbitmq网络层
2013-01-31 00:20 726抽离出了网络层, 逻辑层待以后研究 https://gith ... -
<8>redis及erl-redis阅读
2013-01-16 10:14 8191 redis的功能相当的强大,里面的发布订阅pub/su ... -
<7>pg2 分析
2012-12-08 13:42 1227网上看到erlang的pg2模块似乎没人推荐使用,但是还是有不 ... -
<6>error_logger 使用
2012-12-02 16:24 1428erlang中日志管理主要有error_loggger 模块, ...
相关推荐
NULL 博文链接:https://ZacMa.iteye.com/blog/1976833
Quasar 是一个 Java 库,提供了高性能、轻量级的线程,类似 Go 语言的 Channel,Erlang 语言的 Actor 和其他异步编程工具。 In Maven: <dependency> <groupId>co.paralleluniverse</groupId> <artifactId>quasar...
最低要求 快速开始编译项目: make要在/usr/local/bin安装生成的erlang_ls escript: make install命令行参数这些是可以提供给erlang_ls脚本的命令行参数: Usage: Erlang LS [-v] [-t [ < transport> ]] [-p [ < ...
Usage: emqtt_bench conn [--help < help> ] [-h [ < host> ]] [-p [ < port> ]] [-c [ < count> ]] [-n [ < startnumber> ]] [-i [ < interval> ]] [-u < username> ] [-P < password> ] [-k [ < keepalive
介绍 Scalang是消息传递和参与者库,它使... <id>Boundary Public Repo</id> <url>http://maven.boundary.com/artifactory/repo</url> </repository> </repositories> <dependencies> <dependency> <groupId>com.
米格尔用Erlang编写的另一个数据库迁移工具。它能做什么管理已应用/未应用的...]] [-a [<all>]] [-v [<version>]] [-h [<help>]] [command ...] -c, --config Config file -e, --env Env name in config [default: de
Erlang GOTONight 基础项目;... $> erl -pa ebin -boot start_sasl -name <YOUR>@<IP> -setcookie omnomnom > net_adm:ping('chatserver@<IP>'). > chat_client:start(chatroom:global_chatroom())
骡子郎运输 可以向 Erlang 节点发送消息和从 ... 快照构建在 Sonatype OSS 快照存储库中可用: < repository> < id>ossrh</ id> < url>https://oss.sonatype.org/content/repositories/snapshots</ url> < snapshots>
<<High Performance Erlang>>,英文,PDF格式
Joe Armstrong著的Erlang论文,这里是E文的。<br>中文版名:《面对软件错误构建可靠的分布式系统》<br>
会话服务器 用于处理用户会话的服务器。 作者:谢尔盖·索布科 该代码主要是作为部署 Python 版本...> CREATE_SESSION <good> <good> < OK xss=removed> < session xss=removed> < groups> <group2> ... <grou
erlang入门电子书 erlang编程 Introducing Erlang,作者Simon.St.Laurent
erlang_v8_lib 建立在erlang_v8之上的自以为是JavaScript框架。 erlang_v8_lib是一个Erlang应用程序,其中包括一个小型框架,以简化向脚本环境添加功能的任务。 该应用程序添加了三个主要组件来...{ok,<0>} 3> erlang
别名运行别名命令。 别名可以声明为: { alias , [ { renamed , [ " help " ]}, { cleanall , [ " clean " , " -a " ]}, { testall ,...然后直接在现有应用程序中调用您的插件: $ rebar3 alias <command>===> Fetching
erlang 安装包
亲吻GPIB 基于 KISS 原理的 GPIB 客户端... GPIB client command options: -port as an Erlang port -board <N> (LAN) board index -ip 'IP addr' (LAN) IP address string -name <Name> (LAN) device name -gpib <N>
Erlang模块可以通过两种方式馈入这些函数:1)作为形式列表(例如,调用forms:read(<module>)结果forms:read(<module>)等)和2)作为原子(即模块)名称)。 例如,函数meta:is_exported_function/3可以用作meta : ...
Erlang及其应用Erlang及其应用Erlang及其应用
Programming Erlang + 源码包 Erlang Programming Concurrent Programming in Erlang Joe的那篇erlang论文 efficiecy guide