转载

PureScript 0.7.1 发布,静态类型语言

PureScript 0.7.1 发布,更新内容如下:

对 0.7.0 的一些修复:

  • @hdgarrood has worked on improvements to psc-publish to support the new Pursuit website.

  • @mjgpy3 has improved warning messages

  • @wuzzeb has improved the pretty printers

  • @hdgarrood has added CI builds for GHC 7.10 and 7.6

提升:

@nicodelpiano has added exhaustivity checking as a new warning type. Incomplete pattern matches will now generate warnings like this:

 Warning in module Data.Either.Unsafe:       Warning in value declaration fromRight:       Warning at src/Data/Either/Unsafe.purs line 14, column 1 - line 15, column 1:     Pattern could not be determined to cover all cases.         The definition has the following uncovered cases:           (Data.Either.Left _)       See https://github.com/purescript/purescript/wiki/Error-Code-NotExhaustivePattern for more information, or to contribute content related to this error.

下载地址请点 这里 。

PureScript 是个小巧而强大的静态类型语言,可以编译成 JavaScript。purescript 主要是由 Haskell 和 PureScript 编写的。

正文到此结束
Loading...