Live data from Hacker News

The New Haskell.org

haskell.org

81–90 of 110 posts

Re: The New Haskell.org

#81
post #63

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.

Luckily for everyone, the current discussion here is just such an iteration!

Re: The New Haskell.org

#82

Earlier 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.

I totally agree with you.

Re: The New Haskell.org

#84
post #40

Earlier 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 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

#85
post #77

It 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…

Wow, I’d never heard of this, but apparently it’s a thing. I just see the photo as blurred and that’s that; my eyes don’t try to adjust, maybe because the blurring just seems flat on my monitor. Do you happen to suffer from migraines or vision problems?

Re: The New Haskell.org

#88

Earlier 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.

Not only that, but you have to do something like

    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

#89
post #8

Out of curiosity: Who has written Haskell & deployed to production in the last 24h and if yes for what kind of app?

The Lamdu project I'm working on is in Haskell.

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

#90

Earlier 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…

Well, for me broken internal links and a claim that some framework magically avoids 404 errors are worlds apart.
Post reply on HN