views:

3798

answers:

16

I've been looking for a decent guide to Haskell for some time, but haven't been able to find one that seems interesting enough to read through and/or makes sense.

I've had prior exposure to Haskell a few years back, but I can't remember much about it. I remember the "Aha!"-feeling was incredible when I finally got it, and it was actually fun to play with, so I'm looking to rediscover the lost art of Haskell.

I'm familiar with Ruby and its functional programming tricks, so I think I'm not completely in the dark. Any links?

A: 

I found quite a bit here:

http://www.google.com/search?hl=en&safe=active&client=firefox-a&channel=s&rls=org.mozilla%3Aen-US%3Aofficial&hs=CZD&q=Haskell+code&btnG=Search

JasonMichael
this answer stinks
JasonMichael
then why not delete it and get a "Peer Pressure" badge. seriously :-)
Jared Updike
A: 

This is where I started. haskell.org

Kevin Goff
+1  A: 

Kevin, is there a specific one (or a few) you recommend? I started there and picked those that seemed high quality, but most were dead boring or just didn't make any sense to me in the beginning, which kind of defeats the point of an introduction.

wvdschel
+19  A: 

Some good places to start are:

Other resources:

Pascal
404 Fix first link please: server replies "The system cannot find the path specified."
Tim Matthews
the URL to "the generic haskell user guide" reports the message **We are sorry !This URL does not match any resource in our repository.**
alepuzio
there, deleted link.
Evan Carroll
+10  A: 

Once you get past the beginning stages, I would highly recommend reading Real World Haskell.

OJ
+13  A: 

If you're like me, and like videos of presentations, than this is a good tutorial:

A Taste of Haskell

It's a three-hour tutorial, that uses xmonad as a running example to explain Haskell to experienced (imperative) programmers. The presentation is given by Simon Peyton-Jones who, besides being one of the top Haskell designers, is also a great speaker.

Tom Lokhorst
+4  A: 

The Haskell wikibook:

http://en.wikibooks.org/wiki/Haskell

which includes the text from the great tutorial Yet Another Haskell Tutorial.

(The "Generic Haskell User Guide" paper is a fine paper, but I think it is a particularly bad recommendation for a beginning Haskell programmer, as it is more of an academic paper presenting extensions to Haskell and basically a different language "Generic Haskell" (i.e. Haskell with an old version of Generics) instead of standard Haskell 98. <irony>If you were looking for dense reading about Haskell, start with the Haskell 98 report.</irony>)

Jared Updike
+3  A: 

I've been told to look at Programming in Haskell, from Graham Hutton

Xavier Nodet
I own this book as at least three other books about Haskell, and I judge it second place after the Haskell school of expression. I have read the Rel Haskell outline and I'm quite sure this will get the best book about Haskell Regards
Friedrich
+1  A: 

One thing that is really unique about Haskell is that there is a mailing list exactly for beginners. Go to Haskell-Beginners.

Reading books is good, but having some humans to ask is always a great resource, too. Together, I think there is absolutely no reason to say "Haskell is hard to learn because there's no material on it."

You might also want to visit #haskell at irc.freenode.net.

Aleksandar Dimitrov
+4  A: 

Real World Haskell is a really good book.

I disagree, for teaching Haskell it is a really bad book.
Evan Carroll
+6  A: 

Yet Another Haskell Tutorial (PDF) worked for me.

Edit: Updike points out that the text of YAHT has been folded into the Haksell Wikibooks. The PDF is still useful if you (like me) prefer to print out and read on paper.

BTW I have also read A Gentle Introduction To Haskell (also available as PDF). I will definitely not recommend this for beginners. It is only gentle compared to the Haskell Report. However it is a good reference when you have a solid understanding of the language.

JacquesB
Great recommendation, but see my above comment about he the text of YAHT was incorporated into the live Wiki book.
Jared Updike
Agree re: Gentle Introduction to Haskell. It's great to read to pat yourself on the back once all the concepts have finally sunken in, but there are better resources out there for beginners.
Jared Updike
+33  A: 

This looks like it fits the bill in the style of Why's Poignant Guide to Ruby.

http://learnyouahaskell.com/

Don-Duong Quach
I thought neither Why's Poignant Guide nor Ruby were poignant enough to cause tears. I get their intent and I'm sure they've made a positive impact but I think Haskell and Learn You a Haskell are more stupendous by a long shot. Miran has done a wonderful job and the artwork is top notch.
Jared Updike
been using it, not a full knowledge base by any means but a great start.
Dmitri Farkov
I found _LYAH_ to be a great beginners' guide. It teaches Haskell slowly and in a loose (read less-academic) language that is really suited for the beginners. I recommend reading _LYAH_ and _Real World Haskell_ side by side as they really complement each other.
abhin4v
+1  A: 

I have downloaded 10 slides from this page http://www.cs.nott.ac.uk/~gmh/book.html and going through it for many times. It workz ;)

+1  A: 

Strange that nobody suggest Real World Haskell. That's IMHO the best Haskell book you currently can get you can get it for on or offline reading http://www.realworldhaskell.org/blog/

Friedrich
+4  A: 

In addition to "Real World Haskell", find a copy of "Haskell: The Craft of Functional Programming". Great textbook.

unclerojelio
+2  A: 

I like Haskell Tutorial for C Programmers. Especially if you are coming from an imperative language background as I do.

Szere Dyeri