转载

小巧而强大的静态类型语言 PureScript v0.9.2 发布

小巧而强大的静态类型语言 PureScript v0.9.2 发布

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

更新日志

功能增强

Goto Definition

@kRITZCREEK has added the ability to return position information for expressions in psc-ide. This can be used to implement a Goto Definition feature in IDEs which use psc-ide-server as the backend.

Evaluate PSCi expressions in the browser

(@paf31)

PSCi now features an alternative backend, which can run commands in the browser via a websocket. To use this mode, simply pass the --port option on the command line:

 $ pulp psci --port 9000 

and open your web browser to localhost on that port.

See https://github.com/paf31/psci-experiment for a demonstration.

psc-ide architecture changes

@kRITZCREEK has worked on changing the architecture of psc-ide generally, to load data in multiple phases and asynchronously. This enables new features like Goto Definition above.

Other

Bug修复

psc-ide

Other

  • Update Data.Function constant for prelude 1.0 (@felixSchl)
  • Include position info in ScopeShadowing warning (@garyb)

下载

正文到此结束
Loading...