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.
The New Haskell Homepage
11–20 of 258 posts
Re: The New Haskell Homepage
#12Re: The New Haskell Homepage
#13"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.
Re: The New Haskell Homepage
#14Wow 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.
`let { f x = x ^ 2 } in f 2`
Re: The New Haskell Homepage
#15One 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
#16Nice, I like it. Now, to actually learn the language...
Re: The New Haskell Homepage
#17Re: The New Haskell Homepage
#18I 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...