4 ms·
Functional 'concepts' are not niche, but functional languages still are. If you asked your average Java 8 programmer or JS programmer to write an app in Haskell
by allover 9y ago
Functional 'concepts' are not niche, but functional languages still are. If you asked your average Java 8 programmer or JS programmer to write an app in Haskell or Elm, they'd struggle.
- jwdunne 9y agoI'd consider myself an average JS programmer and would love to try writing web apps in Haskell. I've spent some time on Haskell books, fell in love with the type system, got a basic understanding of monads but found it difficult to "move forward". I think the issue for me is I predominantly build web apps. Can you recommend any resources for building modern web apps in Haskell or at least fitting it into my day to day at work?
- ff_ 9y agoTry 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/ http://www.purescript.org/
- hellofunk 9y agoUnfortunately, does not use persistent data structures.
- purescript 9y agoYes it does.
- deleted 9y ago[deleted]
- jwdunne 9y agoThat looks really cool :) does it still depend on Bower?
- ff_ 9y agoThere's no "dependency" per se, but in practice most of the community still uses bower. There's an effort to make something better and on the same vibe as Haskell's `stack`, which is `psc-package` [1]. I switched to it for all new projects, and while it still has some rough edges, I don't really miss bower. [1]: https://github.com/purescript/psc-package https://github.com/purescript/psc-package