Haste language
haste-lang.org
Haste language
1–10 of 78 posts
Re: Haste language
#2What exactly is the use-case for this? Can't quite get it from the site.
Re: Haste language
#3What exactly is the use-case for this? Can't quite get it from the site.
Making a JavaScript app with type safety guarantees. Also the pleasure of haskell in general. Same reason people use CoffeeScript. It compiles to JS, but you get several advantages of not using JS directly. Either syntactical, or abstraction of idioms.
Haste of course goes WAY further than CoffeeScript. But the rationale is the same. I enjoy writing Haskell much more than JS. If I can write Haskell and convert it to JS, I'll do it every time.
Re: Haste language
#4What exactly is the use-case for this? Can't quite get it from the site.
It compiles a sizable portion of GHC Haskell to Javascript. Since it's a general purpose language, the use-cases are basically anything that requires some custom logic to run and interact in the browser.
Re: Haste language
#5How is it more useful than Yesod (http://www.yesodweb.com/) and other existing web app frameworks in Haskell?
Re: Haste language
#6How is it more useful than Yesod ( http://www.yesodweb.com/ ) and other existing web app frameworks in Haskell?
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.
Re: Haste language
#7How is it more useful than Yesod ( http://www.yesodweb.com/ ) and other existing web app frameworks in Haskell?
[deleted]
Re: Haste language
#8http://ocsigen.org/js_of_ocaml/ is a similar project for OCaml.
Re: Haste language
#9So out of all these options for Haskell (http://www.haskell.org/haskellwiki/The_JavaScript_Problem), what's currently got the most momentum behind it?
Re: Haste language
#10Meta-comment: this is an excellently written landing page. All the comments about the explanation prose you usually see on HN when a language or library is introduced could be rewritten as "Make it more like Haste's landing page".