1. XenForo 1.5.14 中文版——支持中文搜索!现已发布!查看详情
  2. Xenforo 爱好者讨论群:215909318 XenForo专区

新闻 Elixir 1.5 版本发布,函数式编程语言 下载

本帖由 漂亮的石头2017-07-26 发布。版面名称:软件资讯

  1. 漂亮的石头

    漂亮的石头 版主 管理成员

    注册:
    2012-02-10
    帖子:
    488,004
    赞:
    47
    Elixir 1.5 发布了,Elixir 是一种函数式编程语言,建立在Erlang虚拟机之上。它是一种动态语言,灵活的语法与宏支持,利用Erlang的能力来构建并发、分布式、容错应用程序与热代码升级。

    [​IMG]

    该版本更新内容如下:

    Enhancements

    Elixir


    • [Access] Optimize Access.get/2


    • [Base] Optimize Base encode/decode


    • [Calendar] Implement Inspect for DateTime with Calendar.ISO


    • [Calendar] Add "ISO days" format for conversions between Calendars and Date.convert/2, Time.convert/2, NaiveDateTime.convert/2 and DateTime.convert/2 (as well as bang variants)


    • ……
    Bug fixes

    Elixir


    • [Calendar] Ensure Calendar.ISO raises a readable error when reaching up the year 10000 restriction


    • [Calendar] Return {:error, :invalid_time} for wrong precision instead of crashing when parsing ISO dates


    • [Enumerable] Raise Protocol.UndefinedError on bad functions in Enumerable implementation


    • [File] Ensure recursive file operations raise on paths with null bytes (security issue reported by Griffin Byatt)


    • ……
    Soft deprecations (no warnings emitted)

    Elixir


    • [Kernel] not left in right is soft-deprecated in favor of left not in right
    Deprecations

    Elixir


    • Atom.to_char_list/1, Float.to_char_list/1, Integer.to_char_list/1, Integer.to_char_list/2, Kernel.to_char_list/1, List.Chars.to_char_list/1, String.to_char_list/1 have been deprecated in favor of their to_charlist version. This aligns with the naming conventions in both Erlang and Elixir


    • [Enum] Deprecate Enum.filter_map/3 in favor of Enum.filter/2 + Enum.map/2 or for-comprehensions

    本次更新内容较多,完整内容请查看发行首页

    下载地址:


    >>>【评论有礼】7月10日-31日在下方评论资讯,即有机会获得 9 活跃积分和开源中国实物周边。活动详情
    Elixir 1.5 版本发布,函数式编程语言下载地址
     
正在加载...