Erlang/Elixir精选-第6期(20200113)

精选文章

  1. Implementing languages on the Erlang VM. -Robert Virding.

    因为视频没有显示PPT,PPT可以在点击这里下载

    • leex - lexical scanner generator
    • yecc - parser generator
    • syntax tools - for building erlang code
    • XML parsers (xmlerl)
    • compiler
  2. Profiling in Erlang.

    fprof,eprof,cover,cprof,top,eep,recon,eflame,eflame2工具列表。

  3. 列表解析不为人知的高级炫技

    比如:

    2> [1 || 1].
    []
    3> [something || nothing].
    []
    4> [2 || []].
    []
    5> [x || 1, 2, 3].
    []
    6> [1 || true].
    [1]
    7> [wat || 1 == 1].
    [wat]
    8> [2 || true, true, true].
    [2]
    9> [3 || true, false, true].
    []
    10> [throw(x) || false, throw(y)].
    []
    11> [throw(x) || true, throw(y)].
    ** exception throw: y

欢迎来语雀投稿或推荐,精选每周一发布,同步更新在语雀博客园

猜你喜欢

转载自www.cnblogs.com/zhongwencool/p/collection_6.html