发布于 2017-01-05 02:49:08 | 159 次阅读 | 评论: 0 | 来源: 网友投递

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

Elixir 函数式编程语言

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


Elixir 1.4.0 发布了,

部分更新内容:

  • [Calendar] Add Date.compare/2Time.compare/2NaiveDateTime.compare/2 and DateTime.compare/2

  • [Calendar] Support NaiveDateTime.add/3 and NaiveDateTime.diff/3 for adding seconds (up to microseconds) as well as the difference between two NaiveDateTimes in seconds (up to microseconds)

  • [Calendar] Add Date.leap_year?/1 and Date.day_of_week/1

  • [Calendar] Ensure DateTime and NaiveDateTime APIs work with any struct that provides the same set of fields as their respective struct. For example, a NaiveDateTime can be given to Date since it contains a superset of the fields in the Date struct

  • [Enum] Add Enum.map_every/2 that invokes the given function with every nth item

  • [Enum] Add min/2max/2min_max/2min_by/3max_by/3, and min_max_by/3 that allow a function specifying the default value when the enumerable is empty

  • [Enum] Introduce Enum.zip/1 to zip multiple entries at once

  • [Float] Introduce Float.ratio/1 that returns a tuple with the numerator and denominator as integers to retrieve the given float

  • [GenServer] Log warn on default handle_info/2 implementation

  • [Inspect] Support syntax coloring via the :syntax_color option

  • [Integer] Integer.digits/2 now accepts negative integers

  • [Integer] Add Integer.mod/2 and Integer.floor_div/2

  • ……

完整更新内容请查看发行日志

下载地址:



历史版本 :
函数式编程语言 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号  版权声明  广告服务