Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Book on Haskell

66 views
Skip to first unread message

Frederick Williams

unread,
Jan 25, 2012, 11:11:53 AM1/25/12
to
What book or books on Haskell would be good for learning how to use the
language and about its internals? I have a lot of programming
experience, but not using functional languages.
--
When a true genius appears in the world, you may know him by
this sign, that the dunces are all in confederacy against him.
Jonathan Swift: Thoughts on Various Subjects, Moral and Diverting

Hans Aberg

unread,
Jan 25, 2012, 12:08:57 PM1/25/12
to
On 2012/01/25 17:11, Frederick Williams wrote:
> What book or books on Haskell would be good for learning how to use the
> language and about its internals? I have a lot of programming
> experience, but not using functional languages.

There is a list of material here:
http://www.haskell.org/
http://www.haskell.org/haskellwiki/Tutorials

An older one is
http://www.haskell.org/tutorial/
but there are others now.

Hans



shishir

unread,
Jan 29, 2012, 7:52:41 AM1/29/12
to
Hi all,

I had the same question as the OP, but I am at a loss looking at the list maintained at haskell.org. I'm primarily a C/C++ programmer. I did have a look at Real World Haskell but it did not appeal to me its too verbose, is there any book which would be closer to say a KnR or TC++PL for Haskell. So far whatever I've read about Haskell has really amazed me, so I desperately want to learn the language.

TIA,
Shishir

Hans Aberg

unread,
Jan 29, 2012, 9:27:19 AM1/29/12
to
On 2012/01/29 13:52, shishir wrote:

> I had the same question as the OP, but I am at a loss looking at the list maintained at haskell.org. I'm primarily a C/C++ programmer. I did have a look at Real World Haskell but it did not appeal to me its too verbose, is there any book which would be closer to say a KnR or TC++PL for Haskell. So far whatever I've read about Haskell has really amazed me, so I desperately want to learn the language.

Did you check out this tutorial, which is good for experienced programmers
http://www.haskell.org/tutorial/

In addition, you might take down Hugs http://www.haskell.org/hugs/,
which is an interpreter, and look at its sources, which good input on
how to program. For example:
hugs98-plus-Sep2006/libraries/hugsbase/Hugs/Prelude.hs
Some basic packages are in
hugs98-plus-Sep2006/packages/base/Data/

But program with the platform which has the interactive ghci:
http://hackage.haskell.org/platform/

And the language specifications, 98 and now 2010:
http://www.haskell.org/haskellwiki/Language_and_library_specification

Hans


Frederick Williams

unread,
Jan 29, 2012, 1:51:48 PM1/29/12
to
Hans Aberg wrote:

> Did you check out this tutorial, which is good for experienced programmers
> http://www.haskell.org/tutorial/

Shishir and I are looking for books.

Hans Aberg

unread,
Jan 29, 2012, 2:38:46 PM1/29/12
to
On 2012/01/29 19:51, Frederick Williams wrote:
> Hans Aberg wrote:
>
>> Did you check out this tutorial, which is good for experienced programmers
>> http://www.haskell.org/tutorial/
>
> Shishir and I are looking for books.

Oh, sorry, I thought you wanted to learn programming in Haskell.

Hans



shishir

unread,
Jan 30, 2012, 2:12:27 PM1/30/12
to
Hi Hans,

Yes, working around the sarcasm, we want to learn to program in Haskell, but we find a book much easier to manage.

You are correct in suggesting that we could take the tutorial - perhaps a print out of it, but it'd not be the same thing as a book. The books, especially the ones I mentioned, offer a great advantage for people like me that they
incorporate some exercises which we could use to gauge our understanding of the concepts.

You can argue that we can come up with questions of our own, which we may try solving, or perhaps try solving some problem which we have solved in some language of our choice again, except this time with Haskell.It's just that
with little or no prior experience with functional programming it becomes a tad
difficult to imagine what kind of problems can be best attacked with Haskell.
I'm an average programmer, with limited intellectual ability so a book can help
me with finding problems and once I start identifying patterns, connections I'll let go of the crutch.

It would take us quite a bit of time to acquire the kind of fluidity with Haskell that is needed to really grasp the workings of prelude or understand
how basic packages are implemented and why. I do like the idea, and I hope to do that too, in due course of time.

I appreciate your help, and I'll try using a hard copy of the tutorial again.If that doesn't work, I'll start my search for a book again.

Thank you,
Shishir

Hans Aberg

unread,
Jan 30, 2012, 2:56:44 PM1/30/12
to
On 2012/01/30 20:12, shishir wrote:
> ... we want to learn to program in Haskell, but we find a book much easier to manage.

If you want textbook reviews, then you need to get it from those who has
dealt with the books in question. You might ask in the mailing lists
here (beginners or cafe):
http://www.haskell.org/haskellwiki/Mailing_lists

Also, you might search for the books this list on the net, by adding the
word "review" to you search.
http://www.haskell.org/haskellwiki/Books

Hans


Frederick Williams

unread,
Jan 31, 2012, 11:27:18 AM1/31/12
to
I wrote "What book or books on Haskell would be..." in a post titled
"Book on Haskell".

Shishir wrote "I had the same question as the OP, [...] is there any
book ...".

I wonder at your thinking.

Btw, how good are you as a programmer? I mean, do you ever fulfil the
requirement?

Rory Wang

unread,
Jan 31, 2012, 11:55:02 AM1/31/12
to
The Haskell School of Expression is quite nice and illustrates the perks of functional programming well. Plus it's rather terse.
http://www.cs.yale.edu/homes/hudak/SOE/

Hans Aberg

unread,
Jan 31, 2012, 12:52:42 PM1/31/12
to
On 2012/01/31 17:27, Frederick Williams wrote:

> Hans Aberg wrote:

>>> Shishir and I are looking for books.
>>
>> Oh, sorry, I thought you wanted to learn programming in Haskell.
>
> I wrote "What book or books on Haskell would be..." in a post titled
> "Book on Haskell".

> I wonder at your thinking.

Does not my reply above explain that?

> Shishir wrote "I had the same question as the OP, [...] is there any
> book ...".

This reply was not to you. Why do comment on that? And you snipped the
essential part, rendering its inclusion useless.

Hans

Frederick Williams

unread,
Feb 1, 2012, 1:34:53 PM2/1/12
to
Rory Wang wrote:
>
> The Haskell School of Expression is quite nice and illustrates the perks of functional programming well. Plus it's rather terse.
> http://www.cs.yale.edu/homes/hudak/SOE/

Thank you. Terseness is good!

Hubert Wagner

unread,
Feb 2, 2012, 4:46:48 AM2/2/12
to
Am 01.02.2012 19:34, schrieb Frederick Williams:
> Rory Wang wrote:
>>
>> The Haskell School of Expression is quite nice and illustrates the perks of functional programming well. Plus it's rather terse.
>> http://www.cs.yale.edu/homes/hudak/SOE/
>
> Thank you. Terseness is good!
>

I can recommend the book by Marco Block, Adrian Neumann:
Haskell Intensivkurs, Springer 2011 (in German)

Frederick Williams

unread,
Feb 2, 2012, 9:50:50 AM2/2/12
to
Unfortunately I don't read German.
0 new messages