Re:Haste language
by z3phyr on Wednesday April 02, 2014 @12:54AM
(#7513639)
How is it more useful than Yesod (http://www.yesodweb.com/) and other existing web app frameworks in Haskell?
[ Parent
| on HN ]
Re:Haste language
by gamegoblin on Wednesday April 02, 2014 @12:58AM
(#7513648)
Presumably because you can write in-browser apps that you would typically write in JS, in Haskell. AFAIK Yesod is just another web framework a la rails, django, etc.
Yesod does not compile Haskell to JS. It works well with Fay though (another way to compile Haskell to JS).
Haste is not "more useful"; but it's approach is quite different.
Read my other comment on this page for more info on the differences.
There have been attempts to integrate fay[0] (a similar attempt of Haskell -> JS like Haste) with yesod, but it hasn't gained much traction.
Yesod is server side, it has Julius, but that's just JS with safe inserts from the outside.