r/purescript • • Apr 21 '20

Is it worth learning Halogen?

I come from Elm and have some basic haskell experience (can work with typeclasses, monads, applicatives etc). Halogen just seems hugely over-complicated, is it worth taking all the trouble to learn this framework, particularly when there are Elm clones out there? What would you say is the return on investment?

Edit: I'm not asking about purescript as a language. I'm asking specifically about the Halogen framework vs other simpler purescript frameworks. Thanks

22 Upvotes

25 comments sorted by

View all comments

Show parent comment

4

u/Kurren123 Apr 21 '20

Thanks for your reply

Most (of my) coding errors are caught at compile time

Is this not a feature of purescript in general as opposed to halogen? Can you please elaborate on "can iterate faster"? These seem like great purescript features but I'm already sold on the language, I'm just choosing the framework.

1

u/t-b Apr 21 '20

I haven’t use the other frameworks in purescript so can’t comment on that too much. The router in Thomas Honeyman’s realworld is a particularly compelling example of how the child/parent relationship enables typesafe state/hash-based routing/swapping of components.