* f(<<attern1,...,Rest/bits>>,...) -> ... % Rest is not used here f(Rest,...); f(<<attern2,...,Rest/bits>>,...) -> ... % Rest is not used here f(Rest,...); ... f(<<>>, ...) -> ReturnValue.
* 使用 CTRL + \ 或 init:stop(), 可以退出Erlang, 使用CTRL + G 及 CTRL + C 弹出菜单选项,可以选择是否退出Erlang。 其中CTRL + G可以用来连接其他的shell, CTRL + C可以查看其他一些系统信息 Ctrl + C abort 是野蛮的退出方式
* use "open_port({fd,0,2}, [out])" make erlang program write standard error to unix system
* If you don‘t run experiments before you start designing a new system, your entire system will be an experiment!
* standard data structure desc:
Module Description sets sets, i.e. a collection of unique elements. gb_sets sets, but based on a general balanced data structure gb_tree a general balanced tree dict maps, also called associative arrays ets hash tables and ordered sets (trees) dets on-disk hash tables