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

jopen 3年前
   <p style="text-align: center;"><strong><img alt="" src="https://simg.open-open.com/show/6c5da9e63102b686994315d7f4a206df.png" /></strong></p>    <p> </p>    <p>PureScript 是个小巧而强大的静态类型语言,可以编译成 JavaScript。purescript 主要是由 Haskell 和 PureScript 编写的。</p>    <h2>更新日志</h2>    <ul>     <li>Add support for user defined warnings via the <code>Warn</code> type class (<a href="/misc/goto?guid=4958991075782312448">@LiamGoodacre</a>, <a href="/misc/goto?guid=4958999082942282153">blog post</a>)</li>     <li>Support nested record update (<a href="/misc/goto?guid=4958991075782312448">@LiamGoodacre</a>, <a href="/misc/goto?guid=4958999083068753777">blog post</a>)</li>     <li>Inline <code>unsafePartial</code> (<a href="/misc/goto?guid=4958879147349283503">@paf31</a>)</li>     <li>Fail early when <code>bind</code> is brought into scope inside <code>do</code> (<a href="/misc/goto?guid=4958879147349283503">@paf31</a>)</li>    </ul>    <h3>Bug 修复</h3>    <ul>     <li>Disallow polymorphic types in binders, preventing a crash (<a href="/misc/goto?guid=4958879147349283503">@paf31</a>)</li>     <li>Rebuild modules if necessary when using <code>--dump-corefn</code> (<a href="/misc/goto?guid=4958879147349283503">@paf31</a>)</li>     <li><code>TypeLevelString</code>/<code>TypeConcat</code> should not be quoted (<a href="/misc/goto?guid=4958991076751172553">@michaelficarra</a>)</li>     <li>Generate JS static member accesses whenever possible (<a href="/misc/goto?guid=4958991076751172553">@michaelficarra</a>)</li>     <li>Require dependencies to exist during sorting phase (<a href="/misc/goto?guid=4958879147349283503">@paf31</a>)</li>     <li>Fix inlining for <code>negateInt</code> (<a href="/misc/goto?guid=4958879147349283503">@paf31</a>)</li>     <li>Fix object key quoting (<a href="/misc/goto?guid=4958879146816584657">@hdgarrood</a>)</li>     <li>Don't expand synonyms until after kind checking (<a href="/misc/goto?guid=4958879147349283503">@paf31</a>)</li>     <li>Fix 'Unknown type index' on mismatch between class and instance argument counts (<a href="/misc/goto?guid=4958991075782312448">@LiamGoodacre</a>)</li>     <li>Style comment types differently (<a href="/misc/goto?guid=4958999083382175070">@matthewleon</a>)</li>    </ul>    <h3><code>psc-ide</code></h3>    <ul>     <li>Return operators in <code>psc-ide</code> imports list (<a href="/misc/goto?guid=4958984422936517219">@nwolverson</a>)</li>     <li>Collect type class instances (<a href="/misc/goto?guid=4958991076100114071">@kRITZCREEK</a>)</li>     <li>Log failing to accept or parse an incoming command (<a href="/misc/goto?guid=4958991076100114071">@kRITZCREEK</a>)</li>     <li>Fix <a href="/misc/goto?guid=4958999083574817209">#2537</a> (<a href="/misc/goto?guid=4958991076100114071">@kRITZCREEK</a>)</li>     <li>Fix <a href="/misc/goto?guid=4958999083698571149">#2504</a> (<a href="/misc/goto?guid=4958991076100114071">@kRITZCREEK</a>)</li>     <li>Also detect location information for operators (<a href="/misc/goto?guid=4958991076100114071">@kRITZCREEK</a>)</li>     <li>Speeds up rebuilding by x2 (<a href="/misc/goto?guid=4958991076100114071">@kRITZCREEK</a>)</li>     <li>Restructure testing to avoid running the server (<a href="/misc/goto?guid=4958991076100114071">@kRITZCREEK</a>)</li>    </ul>    <h3><code>psc-publish</code></h3>    <ul>     <li>Add modules for rendering HTML documentation (<a href="/misc/goto?guid=4958879146816584657">@hdgarrood</a>)</li>     <li>Fix <code>psc-publish --dry-run</code> (<a href="/misc/goto?guid=4958879146816584657">@hdgarrood</a>)</li>     <li>Fix failure to parse git tag date in <code>psc-publish</code> (<a href="/misc/goto?guid=4958879146816584657">@hdgarrood</a>)</li>     <li>Add git tag time to <code>psc-publish</code> JSON (<a href="/misc/goto?guid=4958879146816584657">@hdgarrood</a>)</li>     <li>Remove <code>Docs.Bookmarks</code> (<a href="/misc/goto?guid=4958879146816584657">@hdgarrood</a>)</li>    </ul>    <h3>Performance</h3>    <ul>     <li>Combine inlining optimizations into a single pass (<a href="/misc/goto?guid=4958879147349283503">@paf31</a>)</li>     <li>Use <code>Map.foldlWithKey'</code> instead of <code>foldl</code> (<a href="/misc/goto?guid=4958879146816584657">@hdgarrood</a>)</li>     <li>Minor memory usage improvements in <code>Language.PureScript.Docs</code> (<a href="/misc/goto?guid=4958879146816584657">@hdgarrood</a>)</li>    </ul>    <h3>Other</h3>    <ul>     <li>Generate data constructors without IIFEs (<a href="/misc/goto?guid=4958879146816584657">@hdgarrood</a>)</li>     <li>Add stack-ghc-8.0.2.yaml (<a href="/misc/goto?guid=4958999083953892486">@noraesae</a>)</li>     <li>Add <code>HasCallStack</code> to <code>internalError</code> (<a href="/misc/goto?guid=4958999084053070746">@alexbiehl</a>)</li>     <li>Update <code>psc-package</code> to use turtle 1.3 (<a href="/misc/goto?guid=4958999084140078584">@taktoa</a>)</li>     <li>Remove <code>JSAccessor</code>; replace with <code>JSIndexer</code> (<a href="/misc/goto?guid=4958991076751172553">@michaelficarra</a>)</li>     <li>Store more information in <code>RenderedCode</code> (<a href="/misc/goto?guid=4958879146816584657">@hdgarrood</a>)</li>    </ul>    <h2>下载</h2>    <ul>     <li><a href="/misc/goto?guid=4958999084259428961" rel="nofollow"><strong>linux64.sha</strong></a></li>     <li><a href="/misc/goto?guid=4958999084353057656" rel="nofollow"><strong>linux64.tar.gz</strong></a></li>     <li><a href="/misc/goto?guid=4958999084441631887" rel="nofollow"><strong>macos.sha</strong></a></li>     <li><a href="/misc/goto?guid=4958999084535918624" rel="nofollow"><strong>macos.tar.gz</strong></a></li>     <li><a href="/misc/goto?guid=4958999084625572041" rel="nofollow"><strong>win64.sha</strong></a></li>     <li><a href="/misc/goto?guid=4958999084717536094" rel="nofollow"><strong>win64.tar.gz</strong></a></li>     <li><a href="/misc/goto?guid=4958999084819911596" rel="nofollow"><strong>Source code</strong> (zip)</a></li>     <li><a href="/misc/goto?guid=4958999084914043367" rel="nofollow"><strong>Source code</strong> (tar.gz)</a></li>    </ul>    <p>本站原创,转载时保留以下信息:<br /> 本文转自:深度开源(open-open.com)<br /> 原文地址:<a href="http://www.open-open.com/news/view/585a3b3a">http://www.open-open.com/news/view/585a3b3a</a></p>