发布于 2017-07-26 00:59:00 | 111 次阅读 | 评论: 0 | 来源: 网友投递

这里有新鲜出炉的精品教程,程序狗速度看过来!

Elixir 函数式编程语言

Elixir 是一种函数式编程语言,建立在Erlang虚拟机之上。它是一种动态语言,灵活的语法与宏支持,利用Erlang的能力来构建并发、分布式、容错应用程序与热代码升级。


Elixir 1.5 发布了,

该版本更新内容如下:

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/2Time.convert/2NaiveDateTime.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/1Float.to_char_list/1Integer.to_char_list/1Integer.to_char_list/2Kernel.to_char_list/1List.Chars.to_char_list/1String.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

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

下载地址:



历史版本 :
函数式编程语言 Elixir v1.6 发布,支持自动格式化
Elixir 1.5 版本发布,函数式编程语言
Elixir 1.4.4 版本发布,函数式编程语言
Elixir 1.4.0 正式版发布,函数式编程语言
Elixir 1.3.1 发布,函数式编程语言
Elixir 1.3 发布,函数式编程语言
Elixir v1.2.0 正式发布,函数式编程语言
Elixir v1.2.0-rc.1 发布,函数式编程语言
最新网友评论  共有(0)条评论 发布评论 返回顶部

Copyright © 2007-2017 PHPERZ.COM All Rights Reserved   冀ICP备14009818号  版权声明  广告服务