4 ms·
What exactly is the use-case for this? Can't quite get it from the site.
by BadassFractal 13y ago
What exactly is the use-case for this? Can't quite get it from the site.
- gamegoblin 13y agoMaking 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.
- freyrs3 13y agoIt 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.
- skrebbel 13y agoI'm a bit baffled which part of "Haste lets you write your client-server web application as a single, type-safe program" is unclear to you.
- chrisdone 13y agoSee here for the general Haskeller's attitude to this: http://www.haskell.org/haskellwiki/The_JavaScript_Problem http://www.haskell.org/haskellwiki/The_JavaScript_Problem