Live data from Hacker News

Haste language

haste-lang.org

1–10 of 78 posts

Re: Haste language

#3

What 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

#4

What 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

#6
post #5

How 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

#10
Meta-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".
Post reply on HN