New Adventures for Elm
I&#x27;ve been looking at the options for pure-functional languages targeting JS, and it seems that PureScript is superior to Elm from a technical perspective for full-stack webdev. PureScript takes the approach of providing a full Haskell-like language that is &quot;native&quot; to the JS world. It has the features and type system of Haskell, but atop a cleaned up version of Javascript&#x27;s semantics (e.g. strict evaluation, not lazy, by default). It&#x27;s also well suited for both server and client code, and even has a C++11 backend in the works in addition to the native JS backend.<p>In contrast, Elm is focused on front-end work and is less expressive, but emphasizes simplicity. Elm&#x27;s goal of figuring out how to simplify and distill the Haskell and ML world&#x27;s abstractions is an admirable one, but as an experienced programmer interested in practical work I&#x27;d rather just go with PureScript and just learn the Haskell-like abstractions along the way. It also really helps that the PureScript compiler&#x27;s javascript output is &quot;natural&quot; and easy to understand, without any mysterious transformations involved.<p>Have others looked at PureScript, Elm, Haste, GHCJS, etc and chosen differently?