PureScript 0.10.6 发布了,PureScript 是个小巧而强大的静态类型语言,可以编译成 JavaScript。PureScript 主要是由 Haskell 和 PureScript 编写的。
更新内容:
增强
Add support for user defined warnings via the Warn type class
Support nested record update
Inline unsafePartial
Fail early when bind is brought into scope inside do
Bug 修复
Disallow polymorphic types in binders, preventing a crash
Rebuild modules if necessary when using --dump-corefn
TypeLevelString/TypeConcat should not be quoted
Generate JS static member accesses whenever possible
Require dependencies to exist during sorting phase
Fix inlining for negateInt
Fix object key quoting
Don't expand synonyms until after kind checking
Fix 'Unknown type index' on mismatch between class and instance argument counts
Style comment types differently
psc-ide
Return operators in psc-ide imports list
Collect type class instances
Log failing to accept or parse an incoming command
Also detect location information for operators
Speeds up rebuilding by x2
Restructure testing to avoid running the server
psc-publish
Add modules for rendering HTML documentation
Fix psc-publish --dry-run
Fix failure to parse git tag date in psc-publish
Add git tag time to psc-publish JSON
Remove Docs.Bookmarks
性能
Combine inlining optimizations into a single pass
Use Map.foldlWithKey' instead of foldl
Minor memory usage improvements in Language.PureScript.Docs
其它
Generate data constructors without IIFEs
Add stack-ghc-8.0.2.yaml
Add HasCallStack to internalError
Update psc-package to use turtle 1.3
Remove JSAccessor; replace with JSIndexer
Store more information in RenderedCode
下载地址:https://github.com/purescript/purescript/archive/v0.10.6.zip
来自:开源中国社区

