I'm new to Haskell, and I like this page. So, wanting to get a feel for it, I tried typing the sieve example from the top of the page into the "Type Haskell expressions in here." box right beneath it. First, I got :1:8: parse error on input `=' Hm so apparently definitions aren't expressions? Or something? I decided to remove the `primes = ` part, which made my browser really slow and had no result. I'm assuming it w…
You need to check syntax, or try some more basic examples first. In this case you pasted piece of code that won't work itself. If you want to get know more about it: http://learnyouahaskell.com/syntax-in-functions
The New Haskell.org
21–30 of 110 posts
Re: The New Haskell.org
#22I'm new to Haskell, and I like this page. So, wanting to get a feel for it, I tried typing the sieve example from the top of the page into the "Type Haskell expressions in here." box right beneath it. First, I got :1:8: parse error on input `=' Hm so apparently definitions aren't expressions? Or something? I decided to remove the `primes = ` part, which made my browser really slow and had no result. I'm assuming it w…
You need to check syntax, or try some more basic examples first. In this case you pasted piece of code that won't work itself. If you want to get know more about it: http://learnyouahaskell.com/syntax-in-functions
Re: The New Haskell.org
#23This new, awesome site is using the framework Yesod[0], which is kinda like the Rails of the Haskell world, only it can do rad stuff like prevent XSS and 404s at compile time . Yes, you read that right. [0] http://www.yesodweb.com/
Re: The New Haskell.org
#24This new, awesome site is using the framework Yesod[0], which is kinda like the Rails of the Haskell world, only it can do rad stuff like prevent XSS and 404s at compile time . Yes, you read that right. [0] http://www.yesodweb.com/
Re: The New Haskell.org
#25Out of curiosity: Who has written Haskell & deployed to production in the last 24h and if yes for what kind of app?
Re: The New Haskell.org
#26This new, awesome site is using the framework Yesod[0], which is kinda like the Rails of the Haskell world, only it can do rad stuff like prevent XSS and 404s at compile time . Yes, you read that right. [0] http://www.yesodweb.com/
Tell me more about preventing 404 at compile time. I call http://www.yesodweb.com/bullshit
If you're used to only programming in dynamic languages, it can be a shock, but yes, a good type system can do things you never thought possible.
If you were the downvoter, I'll take my vote back now.
Re: The New Haskell.org
#27Out of curiosity: Who has written Haskell & deployed to production in the last 24h and if yes for what kind of app?
Re: The New Haskell.org
#28Re: The New Haskell.org
#29Earlier quoted context omitted.
You need to check syntax, or try some more basic examples first. In this case you pasted piece of code that won't work itself. If you want to get know more about it: http://learnyouahaskell.com/syntax-in-functions
Sure, but my point is that maybe the top example should be one that'd work verbatim in the REPL, to not scare noobs like me away.
Re: The New Haskell.org
#30This new, awesome site is using the framework Yesod[0], which is kinda like the Rails of the Haskell world, only it can do rad stuff like prevent XSS and 404s at compile time . Yes, you read that right. [0] http://www.yesodweb.com/