`
standalone
  • 浏览: 620179 次
  • 性别: Icon_minigender_1
  • 来自: 上海
社区版块
存档分类
最新评论
文章列表
看这个分析的吧: http://uniseraph.iteye.com/blog/439873
很不错,从这个code和DiaoCow那里可以学到不少东西! git repo: https://github.com/evanmiller/tinymq http://diaocow.iteye.com/blog/1734253

erl init stop

一直疑惑诸如command line erl -noshell -s Module Function Arguments -s init stop 后面加的init stop是干什么用的,看了stackoverflow上面一个问答清楚了: http://stackoverflow.com/questions/5269300/run-erlang-application-without-terminal-depending One useful variation is to also call the stop/0 function of the init module so that ...
当我也开始为erlang不支持全局变量开始感到不爽的时候,看到了某人的吐槽: http://osdir.com/ml/erlang-questions-programming/2002-12/msg00142.html 引用 I don't know a single professional programmer that can't get by without global variables. Furthermore, if a programmer feels he/she _cannot_ get their work done without globals they (IMH ...
I think erlang beginners like I can be confused about the commas, semicolons and periods used in the end of lines. Here is an explanation when you should use which. http://stackoverflow.com/questions/1110601/in-erlang-when-do-i-use-or-or
原code参见http://en.literateprograms.org/Bubble_sort_(Erlang) 虽然原文有解释,可能还是不太好理解erlang写得这么间断晦涩的程序。 1 % Copyright (c) 2012 the authors listed at the following URL, and/or 2 % the authors of referenced articles or incorporated external code: 3 % http://en.literateprograms.org/Bubble_sort_(Erlang)? ...
Global site tag (gtag.js) - Google Analytics