Hacker Read top | best | new | newcomments | leaders | about | bookmarklet login

And since you reply on a comment mentioning Elm, I think PureScript (feature-wise it's more Haskell-like, also more general purpose) deserves a mention as well.

http://www.purescript.org/



sort by: page size:

you might like elm [http://elm-lang.org/]; it's inspired heavily by haskell, but the author thinks long and hard about finding the right names for things rather than just using the defaults from haskell or ml.

Take a look at PureScript [1], it's Haskell-like but strict.

[1]: http://www.purescript.org/


That is exactly the premise of a pure functional programming language like Elm.

https://elm-lang.org/


PureScript already has the Haskell -> Javascript niche covered:

https://en.wikipedia.org/wiki/PureScript



Try PureScript! [1]

Haskell-like (but taking away some of the pain points), for the frontend, compiles to very readable javascript.

[1]: http://www.purescript.org/



Also xmonad with haskell - http://xmonad.org/

For haskell I would recommend Xmonad. The code is short, lots of interesting functionality including a well written plug-in system.

http://xmonad.org/


Instead of JS -> Haskell I think I'd recommend JS -> Purescript[0][1]

0: http://www.purescript.org/

1: https://leanpub.com/purescript/read


I work on Reason, which is something you might like: http://facebook.github.io/reason/

Elm has been personally an inspiration too. Nice set of decisions and tradeoffs for what they're trying to achieve, though yeah, mainstream syntax might not be one of them, but that's fine.


I kind of wish someone would be inspired to write something like this in Elm (http://elm-lang.org/), if only to help people get away from buggy OO-mutable languages

Something very similar for Haskell, as a library: http://leventerkok.github.io/sbv/

A relevant comparison would be to TypeScript, which has already picked up a fair bit of steam: http://www.typescriptlang.org/

For Haskell, there's also this: http://hackage.haskell.org/package/jsmw It's _sort_ of like a JavaScript backend.

If you are inclined towards Elm you might also want to consider GHCJS (via Miso or Reflex):

- Miso: https://haskell-miso.org

- Reflex: http://docs.reflex-frp.org/

Reflex is known to be already in production.


It's worth mentioning that Elm uses this style: http://elm-lang.org/docs/style-guide#types

I was initially surprised by this but now knowing that the creator comes from a Haskell background, it makes sense that he would prefer it.


As someone who has only touched Haskell for hobbyist stuff, I wish this got more attention: https://www.simplehaskell.org/

How does this compare to Haskell Programming[1]?

[1] http://haskellbook.com

next

Legal | privacy