PureScript 是个小巧而强大的静态类型语言,可以编译成 JavaScript。purescript 主要是由 Haskell 和 PureScript 编写的。 PureScript 0.6.9.3 发布,此版本现已提供下载: linux64.sha linux64.tar.gz macos.sha macos.tar.gz win64.md5 win64.tar.gz Source code (zip) 更新内容如下: 重大改进 refEq and refIneq are no longer exported from the Prelude. Bug 修复 Instances can now be defined before the corresponding class declaration (@paf31) A bug related to imports in psci was fixed. (@paf31) A typechecker bug related to type class dictionaries was fixed. (@garyb) A bug related to operator precedence in codegen was fixed. (@garyb) 功能增强 psci now supports long-form directives (@mrhania) Syntax for imports and other declaration types in psci was improved. (@hdgarrood) Markdown comments can now be included at the module level (@joneshf) Error messages are now represented internally as an algebraic data type, and pretty printing has been improved by using the boxes library. Errors now link to the wiki. (@paf31) psc-docs can now generate tags files for Vim and Emacs (@jacereda) psci now supports a --node-opts flag for passing options to the Node executable. (@MichaelXavier) Code gen now preserves names of more function arguments in case statements (@andyarvanitis) 文档 The Prelude now has Markdown documentation (various contributors - thank you!) The Pursuit website has been updated with new versions of libraries, including Markdown documentation (@hdgarrood) 库 The following libraries are now core libraries: purescript-tailrec - A type class for monadic tail recursion purescript-monad-eff - A type class for monads supporting native effects purescript-integers - Integer numeric type purescript-invariant - Invariant functors purescript-parallel - An applicative functor for parallel composition of asynchronous computations 其他 There is an experimental C++11 backend for PureScript called pure11. PureScript 0.6.9.3 发布,静态类型语言下载地址