Racket 6.6 发布,Lisp 语言分支 - 开源中国社区
Float_left Icon_close
Racket 6.6 发布,Lisp 语言分支
oschina 2016年07月25日

Racket 6.6 发布,Lisp 语言分支

oschina oschina 发布于2016年07月25日 收藏 4

腾讯云 十分钟定制你的第一个小程序>>>  

Racket 6.6 发布,更新如下:

  • The new Macro Profiler command-line tool (`raco macro-profiler`) shows how macros contribute to the final expanded code size of a program.

  • Typed Racket supports intersection types. This allows the type system to track more information, and for programmers to express more precise types.

  • Typed Racket produces up to 4x smaller compiled files compared with Racket 6.5, reducing the size of the Racket distribution by 50M.

  • Typed Racket issues warnings in cases where the contract generated for Any was not strict enough in the past. These warnings will become errors in a future release. Warnings are enabled via View -> Show Log in DrRacket, and shown by default on command-line Racket.

  • Typed Racket enforces uses of cast more correctly, by checking both the "casted-to" and "casted-from" types. Previously, only the former were checked. In some cases, this will produce contract errors in programs that did not have errors before.

  • syntax-parse raises an error when an ellipsis pattern has an empty match rather than diverging, and it logs a warning when it statically detects a nullable pattern, such as((~seq) ...). In the next version of Racket, it will reject the pattern instead, and it will remove special handling that currently makes some uses of such patterns terminate.

  • htdp/dir: The create-dir function delivers data information for files in a new field. The domain of its functions are backwards compatible.

详情:http://blog.racket-lang.org/2016/07/racket-66.html

本站文章除注明转载外,均为本站原创或编译。欢迎任何形式的转载,但请务必注明出处,尊重他人劳动共创开源社区。
转载请注明:文章转载自 开源中国社区 [http://www.oschina.net]
本文标题:Racket 6.6 发布,Lisp 语言分支
分享
评论(4)
最新评论
0
這個的IDE不錯
0
sbcl
0

引用来自“代码强国”的评论

在边看sicp边学racket
666
0
在边看sicp边学racket
顶部