Pony 0.16.0 已发布,Pony 是一款基于 Actor 模型,能够提供类型、内存、异常、并发多个层面的安全性保证的高性能编程语言。
该版本实现了 “Explicit partial calls” RFC,这是一个突破性的语法更改,影响了对局部函数的所有调用。[code] /tmp/test.pony:5:19: call is not partial but the method is - a question mark
is required after this call
iterator.next()
^
Info:
/tmp/ponyc/packages/builtin/array.pony:578:24: method is here
fun ref next(): B->A ? =>
^[/code]软件详情:https://www.ponylang.org/blog/2017/07/0.16.0-released/
下载地址:https://github.com/ponylang/ponyc/archive/0.16.0.zip
来自:开源中国社区

