Tag Archives: Elixir
bee ♦ 5月 20, 2016 ♦ 1 Comment
写这篇文章的想法,源自一次关于 and 和 && 区别的讨论。这次开门见山把结论放出来:Eli …
Read more »
bee ♦ 5月 18, 2016 ♦ 1 Comment
首先,先确定下本文中的这两个概念: 编译时:从 mix compile 命令开始到该命令结束,是解释源码,编译 …
Read more »
bee ♦ 5月 17, 2016 ♦ 1 Comment
首先简化问题,先讨论无参数的 defmacro。 defmacro 最常见的用法,看长像是下面这样的: def …
Read more »
bee ♦ 5月 17, 2016 ♦ Leave Your Comment
最近发现 Elixir 的宏是个争议很大的东西,有人觉得太复杂没啥用;有人觉得是神器;还有人一直说学不知道干啥 …
Read more »
bee ♦ 12月 4, 2015 ♦ Leave Your Comment
首先列一下需求吧: C/S 模式,需要在当前 node 调用,同时需要在其它 node 通过 :rpc.cal …
Read more »
bee ♦ 11月 19, 2015 ♦ 6 Comments
UPYUN 已提供 HEX 的镜像,本帖中的源即将停用。请使用 https://hexpm.upyun.com …
Read more »
bee ♦ 11月 19, 2015 ♦ 1 Comment
Ench Repo 逻辑相当简单,只是读配置,用 pooler 起一个池,再给自己定义个 &__usi …
Read more »
bee ♦ 11月 16, 2015 ♦ Leave Your Comment
工作中重度使用 Elixir,之前一直是用 erlport 包装了 sqlalchemy ,但在 Elixir …
Read more »