Elixir v1.4.0-rc.1 發布,函數式編程語言
Elixir 是一種函數式編程語言,建立在Erlang虛擬機之上。它是一種動態語言,靈活的語法與宏支持,利用Erlang的能力來構建并發、分布式、容錯應用程序與熱代碼升級。
更新日志
- [Float] Avoid multiple roundings in
Float.ceil/2
,Float.floor/2
andFloat.round/2
- [Kernel] Don't crash in
macro_exported?/3
when dealing with Erlang modules - [Kernel] Ensure locals calls are rewritten when calling a local function or macro from inside a module
- [Kernel] Annotate the context for variables as zero-arity funs in quotes
- [Kernel.SpecialForms] Ensure comprehensions with guards and filters keep proper ordering,
- [Kernel.SpecialForms] Produce meaningful warning when with's else clauses have no effect
- [Macro] Wrap fn calls in parens in
Macro.to_string/2
- [Macro] Do not print aliases as keys inside keyword lists in
Macro.to_string/2
- [OptionParser] Support options in
OptionParser.to_argv/2
to ensure:count
switches are correctly encoded - [Stream] Ensure
Stream.take/2
does not consume next element on:suspend
- [String] Fix infinite recursion in
String.replace_leading/3
andString.replace_trailing/3
when given an empty string - [Task] Fix
Task.shutdown/1,2
infinite block when task has no monitor - [Task] Ensure task cannot link after parents unlinks
下載
本站原創,轉載時保留以下信息:
本文轉自:深度開源(open-open.com)
原文地址:http://www.baiduhome.net/news/view/7d38ebe8
本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!