Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Interesting :)

When I was gathering information about typed languages that compile to JS, I found Elm rather nice, but calling JS libs was rather cumbersome. Somewhere I read that PureScript has a better integration with JS, so I thought it was a "thinner" layer :D



Purescript doesn't have a runtime, unlike Elm, so in that sense it may be a thinner layer. However, the language itself is more advanced than Elm, allowing for more powerful abstractions but also having the side effect (haha) of having the same steep learning curve as Haskell.

Also, Purescript's FFI is really easy to use (unlike Elm's), afaik this was one of its original design goals.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: