Elixir 1.3 发布,函数式编程语言
jopen 9年前
<p> </p> <p><img alt="Elixir 1.3 发布,函数式编程语言" src="https://simg.open-open.com/show/103b6acae49fd7e9a56b8aabc636404d.png" /></p> <p>Elixir 1.3 发布了,Elixir 是一种函数式编程语言,建立在Erlang虚拟机之上。它是一种动态语言,灵活的语法与宏支持,利用Erlang的能力来构建并发、分布式、容错应用程序与热代码升级。</p> <p><img alt="Elixir 1.3 发布,函数式编程语言" src="https://simg.open-open.com/show/860f1174a2e835102d45d51fe7b0ec9a.png" /></p> <p>该版本主要改进记录如下:</p> <ul> <li> <p>[Calendar] Add <code>Calendar</code> and <code>Date</code>, <code>Time</code>, <code>NaiveDateTime</code> and <code>DateTime</code> types</p> </li> <li> <p>[CLI] Add <code>--logger-otp-reports BOOL</code> and <code>--logger-sasl-reports BOOL</code> switches</p> </li> <li> <p>[Compiler] Emit a summary of compilation errors when modules are missing</p> </li> <li> <p>[Exception] Suggest possible functions on <code>UndefinedFunctionError</code> for existing modules</p> </li> <li> <p>[File] Support IO devices in <code>File.copy/3</code></p> </li> <li> <p>[GenServer] Raise a more meaningful exit if you try to <code>GenServer.call/3</code> yourself</p> </li> <li> <p>[Inspect] Support <code>:base</code> option when inspecting binaries</p> </li> <li> <p>[Kernel] Support <code>generated: true</code> in quote</p> </li> <li> <p>[Kernel] Support <code>Kernel.pop_in/1</code> and <code>Kernel.pop_in/2</code> for yanking a value from a nested data structure</p> </li> <li> <p>[Kernel] Allow variable struct names when matching, for example, <code>%module{key: "value"} = struct</code></p> </li> <li> <p>[Kernel] Allow guards on the left side of <code><-</code> in <code>for</code> and <code>with</code> special forms</p> </li> </ul> <p>更多,请查看<a href="/misc/goto?guid=4958990166452837998">这里</a>。</p> <p>来自: http://www.oschina.net//news/73031/elixir-1-3</p>