PureScript 0.6.8 发布,此版本更新内容如下: 重大改进 The Num type class has been refined to allow more interesting instances. The Semiring, ModuloSemiring, Ring and DivisionRing classes have been introduced. Most code should continue to compile, since Number was one of only a handful of instances, but library developers will need to break up their Num instances. 功能增强 @garyb has improved the readability of psc-docs output. 注意 全面废弃了 ErrorT ,使用 ExceptT 和 transformers 替换, mtl 依赖有点小改动 PureScript 是个小巧而强大的静态类型语言,可以编译成 JavaScript。purescript 主要是由 Haskell 和 PureScript 编写的。 PureScript 示例代码: module Main where import Debug.Trace main = trace "Hello, World!" 编译成 JavaScript 代码: var PS = PS || {}; PS.Main = (function () { "use strict"; var Debug_Trace = PS.Debug_Trace; var main = Debug_Trace.trace("Hello, World!"); return { main: main }; })(); PureScript 0.6.8 发布,静态类型语言下载地址