Earlier quoted context omitted.
Don't forget about reflex[0], you can try it here[1]. I also use purescript[2] with purescript-halogen[3] as does slamdata[4]. There's also a video on Purescript halogen[5] that's very interesting. Purescript is great because the JavaScript it generates is so readable, that if you really need to you can understand the output and make micro-optimizations. 0: https://github.com/ryantrinkle/reflex 1: https://github.com/…
Thanks for the links! I'm really curious about what Haskell can come up with for a front-end story. Do you think that Purescript's row typing (as seen in records and the Eff monad/effect system) is a viable replacement for monad transformer stacks? I "get" MT stacks but I find them heavyweight when what is most often desired is commutative set building of capabilities rather than MT-style stacking.
Developing Web Applications with Haskell
21–30 of 33 posts
Re: Developing Web Applications with Haskell
#22Re: Developing Web Applications with Haskell
#23What's the most rails or django-esque framework for haskell?
Re: Developing Web Applications with Haskell
#24I'd like to see something like this, but with JSON-based APIs instead of HTML templating.
Re: Developing Web Applications with Haskell
#25Re: Developing Web Applications with Haskell
#26I'm somewhat new to web dev and new to functional programming. Can someone tell me how this is fundamentally different that ClojureScript + OM ( https://github.com/omcljs/om ) ?
You can get compile time errors instead of runtime for bunch of things.
Re: Developing Web Applications with Haskell
#27Does it support a "React" style of building web applications?
There are a number of Haskell-to-JS compilers and Haskell-alike languages which more directly target JS. This is growing quickly but major issues remain and the toolkits are quite immature. On the other hand, much of React is a natural play out of Haskell's sweet spot. The challenge will be in making Js-alike APIs which handle the flexibility well while maintaining sufficient typing. React-like rendering, virtualdom,…
Re: Developing Web Applications with Haskell
#28I'm somewhat new to web dev and new to functional programming. Can someone tell me how this is fundamentally different that ClojureScript + OM ( https://github.com/omcljs/om ) ?
Fundamentally, I guess the difference is that one is type-safe, and the other isn't. You can get compile time errors instead of runtime for bunch of things.
Re: Developing Web Applications with Haskell
#29I'd like to see something like this, but with JSON-based APIs instead of HTML templating.
Re: Developing Web Applications with Haskell
#30Earlier quoted context omitted.
Thanks for the links! I'm really curious about what Haskell can come up with for a front-end story. Do you think that Purescript's row typing (as seen in records and the Eff monad/effect system) is a viable replacement for monad transformer stacks? I "get" MT stacks but I find them heavyweight when what is most often desired is commutative set building of capabilities rather than MT-style stacking.
Consider mtl then. It provides commutative capability set building semantics from the user's POV and then only asks the consumer to make final stack-ordering/effect specification decisions.