This is a step backwards imho. The fit and finish of this site betrays much about the language and its amazing community. This feels amateurish, with enough people complaining about the interactive repl and lacking information, this should have gone through more iterations and feedback loops with people outside the Haskell community.
The New Haskell.org
81–90 of 110 posts
Re: The New Haskell.org
#82Earlier 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
#83Out 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
#84Earlier quoted context omitted.
The biggest problem isn't what others have said. The biggest problem is that the try box doesn't let you define your own functions or variables. Therefore, even if you were an old hand at GHC and GHCi and so on, you'd still be unable to run the code it shows at the top of the page. This is probably bad website design. Especially since the website still lets randoms burn themselves by entering non-terminating code tha…
I agree with the problems but am curious how you would solve the non-terminating code problem?
I thought it was running on the browser, based on what the OP said, so that would entail opcode-counting or, if you can use multiple threads, watchdog timers. That is, don't try to solve the halting problem, just enforce an arbitrary limit to how long code can run.
However, if the code is being run on the server, you could enforce CPU and RAM quotas to do the same thing with the OS's help.
Re: The New Haskell.org
#85It looks good, but they have to get rid of the out of focus photo. Photos that are entirely out of focus are really annoying and give a lot of people headaches. Usually out of focus areas should be used to bring the eye to an object in the photo that is in focus. But if such an object does not exist, then the eye wanders and tries to adjust itself to focus (the eye has its own focusing mechanism). But of course it ca…
Re: The New Haskell.org
#86Out 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
#87Re: The New Haskell.org
#88Earlier quoted context omitted.
This online REPL does not support `let` either. `let x = 4` is not an expression there.
At the online REPL, you have to write something like: let primes = sieve [2..] where sieve (p:xs) = p : sieve [x| x Which is rather annoying.
let primes = ... in take 5 primes
... if you want the computation to complete without hanging the browser. It would be nice if the REPL supported multi-line expressions.Re: The New Haskell.org
#89Out of curiosity: Who has written Haskell & deployed to production in the last 24h and if yes for what kind of app?
Our build system for a large C project at work is written in Haskell.
Various other tools we use (cgrep, resolve-trivial-conflicts, etc) are in Haskell.
Re: The New Haskell.org
#90Earlier quoted context omitted.
Tell me more about preventing 404 at compile time. I call http://www.yesodweb.com/bullshit
Presumably the idea is that you can prevent your site having broken internal links by constructing links with data types and checking the links when creating them at compile time. You could actually do something similar in most languages, even dynamic ones, so I don't see what is specific to haskell about it, e.g. rails has link_to and friends which require you to have a route set up in order to link to it (though no…