Live data from Hacker News

The New Haskell Homepage

new-www.haskell.org

11–20 of 258 posts

Re: The New Haskell Homepage

#11
post #4

Wow I've gotta say, this looks great. Something that bugs me is I couldn't copy the code in the upper right to the code "try it" section. I haven't used haskell for 6-12 months, so I'm not sure what I'm doing wrong. Here's a screenshot: http://imgur.com/N2SdFVq Regardless of how to fix this, I think something should be changed so this can't be someone's first impression.

It's a somewhat limited shell. You can't make local definitions. Normally you'd do that using `let` in GHCi, but this prompt only evaluates expressions.

Re: The New Haskell Homepage

#12
Neat! A nitpick: I haven't used Haskell, so I'm trying to read the prime sieve example in the corner, but there's very little contrast between the background and the nonalphanumeric characters. Some brighter syntax highlighting would be a better choice against that dark background.

Re: The New Haskell Homepage

#13
post #8

"Try haskell expression here" + lessons is very nice. Just a little nitpick: λ map (+1) [1..5] can't find file: Imports.hs λ map (+ 1) [1..5] [2,3,4,5,6]:: (Enum b, Num b) => [b] though the first expression is what suggested in lesson 4. Edit: looks like some random bug.

[deleted]

Re: The New Haskell Homepage

#14
post #4

Wow I've gotta say, this looks great. Something that bugs me is I couldn't copy the code in the upper right to the code "try it" section. I haven't used haskell for 6-12 months, so I'm not sure what I'm doing wrong. Here's a screenshot: http://imgur.com/N2SdFVq Regardless of how to fix this, I think something should be changed so this can't be someone's first impression.

It doesn't seem to support function declaration.

You can use function declaration in the same line it is used.

`let { f x = x ^ 2 } in f 2`

Re: The New Haskell Homepage

#15
Love it! Looks like all that's missing are the "View Examples" links under the features.

One note: the quick walkthrough mentions "up there" in reference to the repl, but the repl is actually to the left of that text when viewing on a non-mobile-sized screen. It should probably just not mention the relative positioning.

I suspect Fibonacci would be a more familiar code sample than Sieve, no?

Re: The New Haskell Homepage

#18
I like the look. A question: I have always used the "The Haskell Platform" download page and installer. The new download page looks like it is just Haskell, cabal, and default libraries.

I am running ghc version 7.6.3 and cabal version 1.16.0.2.

Haskell experts: should I do a fresh install? (I am on OS X and Ubuntu).

Also, shameless plug: I blogged earlier today about using Haskell to access OpenCalais and the DBPedia SPARQL endpoint: http://blog.markwatson.com/2014/07/some-haskell-hacks-sparql...

Re: The New Haskell Homepage

#19
The "Try It" section doesn't load without cookies/localStorage enabled. Having run-time state should be fine for tracking where someone is up to on the tutorial; persistent state shouldn't be necessary.
Post reply on HN