It's astonishing to me that a computer science student wrote such a good book. It's funny, witty, the drawings are great, and the author explains quite complicated concepts of functional programming very clearly. I've already read this book a year ago online, yet I'm still gonna buy it just to support the author.
I went through a decent portion of it online a while back myself, and I ended up grabbing it during O'Reilly's funding drive for Japan both for that effort and to support the author.
Of the Haskell tutorials/books I've read it made me feel like I was getting more out of it (main other one I read was RWH, which isn't bad but felt... dry? and was a tough push).
Wasn't there some virtual pushing and shoving over whether this was just a gross rip-off of a python book? Or am I confusing it with another? (Nitpicks welcome for once, so long as you can provide a link to the thing I was thinking of :D )
No Starch has really been knocking out of the park lately with Land of Lisp, Eloquent Javascript, The Linux Programming Interface, and now Learn You a Haskell. They are also one of the few publishers who's typesetting doesn't make me want to claw my eyes out.
I can now confidently recommend a book to Haskell-aspiring friends that is easy to read and incredibly fun at the same time. It will be on my bookshelf next to Land of Lisp.
Great guide! Since the author himself seems to be reading these comments, I finally have a chance to say just how hysterically funny the bit about analyzing the Avril Lavigne song line by line was. I laughed so hard when I got to that part.
Guess I should buy the print version of the book to support the author....
Just bought this from No Starch Press for delivery to the UK. Amazon UK has it for £35.49, so cheaper to get it shipped over - madness! (I'll take my chances on the import taxes...)
Thank you Miran for a great haskell book, I'm really looking forward to getting my hands on a print copy.
LYAH is fun and accessible. A great introduction to the advanced concepts in Haskell and the power of functional programming.
It made me better at javascript and python. It rekindled my interest in math and algebras. It makes me want to do battle with complexity in nuanced, clever ways.
Some very light criticism of this book: sometimes the author makes things a little too easy by spelling out stuff that I’d rather have to work out myself. It’s easy to fall into the temptation of just reading and reading without really trying out what you’ve learnt because everything always seems so easy to understand but you don’t really internalize it properly until you’ve actually used it a lot.
So these days I prefer other texts but I turn to LYAH when I’m really confused.
All that said it is a great work, as many have said, and a great boon to Haskell and the functional programming world.
I've been writing some ffi myself code lately. The real world haskell chapter on ffi has been helpful. They use a bit of hsc2hs on top of plain ffi. I've also been using c2hs which does a lot of the work for you (a bit higher level) and have found Edward Z Yang's guide helpful for that.
Aside from the reading material others have suggested, I strongly recommend the #haskell channel on Freenode. The people there are extremely helpful and friendly.
I'm curious how the author liked working with NoStarch. I know one of PragProg's big selling points is that they're much easier to deal with and provide much higher royalties than traditional tech publishers; I wonder if NoStarch has taken a similar approach.
I can't speak to how easy PragProgs is to work with, but it seems their 'much higher royalties' are just creative bookkeeping. Where other publishers base royalties on a book's gross, PragProgs uses net. They're somewhere between traditional and vanity publishing in that regard.
Kudos to the author on this book. I think it is great that Haskell will have such a "fun" book to teach the concepts of programming in Haskell. That should lower the learning barrier a bit. More so since everything is layed out in easy to understand terms.
for now!! but in the future who knows. people might want chapters that focus around making real useful stuff with the knowledge, so that's a possibility
The same book is available for $25.56 on Amazon (vs $44.95 on No Starch and O'Reilly). How can Amazon afford such a huge discount on a new book? And how does O'Reilly survive with such competition?
I've got a (small-compared-to-Amazon) online bookstore, and publisher's discounts to retailers like me generally range from 30-50%. I imagine that Amazon, with their volumes, gets more favorable terms. Supposing they get a 50% discount from the publisher in this case-- I imagine they are getting more, but bear with me-- that means that they are making $3 on the book, net postage (since they charge the customer a separate fee to cover the postage and handling). $3/sale is not a lot, but multiplied by X million, it adds up.
O'Reilly survives because as a publisher, they are making money on every book sold, whether you buy it directly from them or through a retailer. Their direct retail sales are just a sideline.
it's a mystery! but i'd recommend buying it directly from No Starch because you get the free ebook and swag, plus more money goes directly into my mouth this way
As an O'Reilly member I seem to have a standing 2-for-1 book deal, so I just batch up my orders. I really like their ongoing updates and early releases and the DRM-free formats are a big plus.
huh. I was just looking through No Starch Press's catalog last week after someone here mentioned the Manga Guide to Databases, and I saw this, but didn't realize it was only online before.
[+] [-] arespredator|15 years ago|reply
[+] [-] runevault|15 years ago|reply
Of the Haskell tutorials/books I've read it made me feel like I was getting more out of it (main other one I read was RWH, which isn't bad but felt... dry? and was a tough push).
[+] [-] Stormbringer|15 years ago|reply
[+] [-] angrycoder|15 years ago|reply
[+] [-] microtonal|15 years ago|reply
[+] [-] teaspoon|15 years ago|reply
[+] [-] losvedir|15 years ago|reply
Guess I should buy the print version of the book to support the author....
[+] [-] bonus500|15 years ago|reply
[+] [-] ktf|15 years ago|reply
[+] [-] Cherad|15 years ago|reply
Thank you Miran for a great haskell book, I'm really looking forward to getting my hands on a print copy.
[+] [-] bonus500|15 years ago|reply
[+] [-] oscilloscope|15 years ago|reply
It made me better at javascript and python. It rekindled my interest in math and algebras. It makes me want to do battle with complexity in nuanced, clever ways.
Thanks Miran!
[+] [-] bonus500|15 years ago|reply
[+] [-] olliesaunders|15 years ago|reply
So these days I prefer other texts but I turn to LYAH when I’m really confused.
All that said it is a great work, as many have said, and a great boon to Haskell and the functional programming world.
[+] [-] rwmj|15 years ago|reply
Background: libguestfs Haskell bindings need a lot of love, and the FFI deeply confuses me.
[+] [-] joelburget|15 years ago|reply
[+] [-] ionfish|15 years ago|reply
[+] [-] happy4crazy|15 years ago|reply
[+] [-] Calamitous|15 years ago|reply
[+] [-] FreakLegion|15 years ago|reply
[+] [-] sigzero|15 years ago|reply
[+] [-] jlees|15 years ago|reply
(Despite it being a free ebook I vastly prefer print, another problem I'm trying to figure out and solve...)
[+] [-] squidsoup|15 years ago|reply
[+] [-] vessenes|15 years ago|reply
It won't be my only haskell book, but I'm glad it was my first!
[+] [-] thurn|15 years ago|reply
[+] [-] bonus500|15 years ago|reply
[+] [-] tomazmuraus|15 years ago|reply
I have read it online about a year ago, but I still ordered my copy from Amazon.
[+] [-] unknown|15 years ago|reply
[deleted]
[+] [-] revorad|15 years ago|reply
[+] [-] michael_dorfman|15 years ago|reply
O'Reilly survives because as a publisher, they are making money on every book sold, whether you buy it directly from them or through a retailer. Their direct retail sales are just a sideline.
[+] [-] bonus500|15 years ago|reply
[+] [-] cageface|15 years ago|reply
[+] [-] rubergly|15 years ago|reply
[+] [-] davelee|15 years ago|reply
[+] [-] unknown|15 years ago|reply
[deleted]