手机版
你好,游客 登录 注册
背景:
阅读新闻

Elixir 0.13 发布,函数式编程语言

[日期:2014-04-21] 来源:oschina.net  作者:Linux [字体:大 中 小]

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

下载 https://github.com/elixir-lang/elixir/releases

特性增加

[Base] Add Base module which does conversions to bases 16, 32, hex32, 64 and url64

[Code] Add Code.eval_file/2

[Collectable] Add the Collectable protocol that empowers Enum.into/2 and Stream.into/2 and the:into option in comprehensions

[Collectable] Implement Collectable for lists, dicts, bitstrings, functions and provide bothFile.Stream and IO.Stream

[EEx] Add handle_body/1 callback to EEx.Engine

[Enum] Add Enum.group_by/2, Enum.into/2, Enum.into/3, Enum.traverse/2 and Enum.sum/2

[ExUnit] Randomize cases and tests suite runs, allow seed configuration and the --seed flag via mix test

[ExUnit] Support --only for filtering when running tests with mix test

[ExUnit] Raise an error if another capture_io process already captured the device

[ExUnit] Improve formatter to show source code and rely on lhs and rhs (instead of expected and actual)

[IEx] Allow prompt configuration with the :prompt option

[IEx] Use werl on Windows

[Kernel] Support ERL_PATH in bin/elixir

[Kernel] Support interpolation in keyword syntax

[Map] Add a Map module and support 17.0 maps and structs

[Mix] Add dependency option :only to specify the dependency environment. mix deps.get and mix deps.update works accross all environment unless --only is specified

[Mix] Add Mix.Shell.prompt/1

[Mix] Ensure the project is compiled in case Mix' CLI cannot find a task

[Node] Add Node.ping/1

[Process] Include Process.send/3 and support the --gen-debug option

[Regex] Regexes no longer need the "g" option when there is a need to use named captures

[Stream] Add Stream.into/2 and Stream.into/3

[StringIO] Add a StringIO module that allows a String to be used as IO device

[System] Add System.delete_env/1 to remove a variable from the environment

linux
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款