Elixir 1.3 發布,函數式編程語言
Elixir 1.3 發布了,Elixir 是一種函數式編程語言,建立在Erlang虛擬機之上。它是一種動態語言,靈活的語法與宏支持,利用Erlang的能力來構建并發、分布式、容錯應用程序與熱代碼升級。
該版本主要改進記錄如下:
-
[Calendar] Add
Calendar
andDate
,Time
,NaiveDateTime
andDateTime
types -
[CLI] Add
--logger-otp-reports BOOL
and--logger-sasl-reports BOOL
switches -
[Compiler] Emit a summary of compilation errors when modules are missing
-
[Exception] Suggest possible functions on
UndefinedFunctionError
for existing modules -
[File] Support IO devices in
File.copy/3
-
[GenServer] Raise a more meaningful exit if you try to
GenServer.call/3
yourself -
[Inspect] Support
:base
option when inspecting binaries -
[Kernel] Support
generated: true
in quote -
[Kernel] Support
Kernel.pop_in/1
andKernel.pop_in/2
for yanking a value from a nested data structure -
[Kernel] Allow variable struct names when matching, for example,
%module{key: "value"} = struct
-
[Kernel] Allow guards on the left side of
<-
infor
andwith
special forms
更多,請查看這里。
來自: http://www.oschina.net//news/73031/elixir-1-3