小巧而強大的靜態類型語言 PureScript v0.10.6 發布

jopen 7年前發布 | 5K 次閱讀 PureScrip JavaScript

 

PureScript 是個小巧而強大的靜態類型語言,可以編譯成 JavaScript。purescript 主要是由 Haskell 和 PureScript 編寫的。

更新日志

Bug 修復

  • Disallow polymorphic types in binders, preventing a crash (@paf31)
  • Rebuild modules if necessary when using --dump-corefn (@paf31)
  • TypeLevelString/TypeConcat should not be quoted (@michaelficarra)
  • Generate JS static member accesses whenever possible (@michaelficarra)
  • Require dependencies to exist during sorting phase (@paf31)
  • Fix inlining for negateInt (@paf31)
  • Fix object key quoting (@hdgarrood)
  • Don't expand synonyms until after kind checking (@paf31)
  • Fix 'Unknown type index' on mismatch between class and instance argument counts (@LiamGoodacre)
  • Style comment types differently (@matthewleon)

psc-ide

psc-publish

  • Add modules for rendering HTML documentation (@hdgarrood)
  • Fix psc-publish --dry-run (@hdgarrood)
  • Fix failure to parse git tag date in psc-publish (@hdgarrood)
  • Add git tag time to psc-publish JSON (@hdgarrood)
  • Remove Docs.Bookmarks (@hdgarrood)

Performance

  • Combine inlining optimizations into a single pass (@paf31)
  • Use Map.foldlWithKey' instead of foldl (@hdgarrood)
  • Minor memory usage improvements in Language.PureScript.Docs (@hdgarrood)

Other

  • Generate data constructors without IIFEs (@hdgarrood)
  • Add stack-ghc-8.0.2.yaml (@noraesae)
  • Add HasCallStack to internalError (@alexbiehl)
  • Update psc-package to use turtle 1.3 (@taktoa)
  • Remove JSAccessor; replace with JSIndexer (@michaelficarra)
  • Store more information in RenderedCode (@hdgarrood)

下載

本站原創,轉載時保留以下信息:
本文轉自:深度開源(open-open.com)
原文地址:http://www.baiduhome.net/news/view/585a3b3a

 本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!