Haskell 教程介绍

Learn You a HaskellReal World Haskell 都有在线电子版。两书的互补性很好。

Learn You a Haskell 配插图风趣幽默,容易阅读;Real World Haskell 有丰富的示例和习题,易于上手。个人建议初学者可以先从 LYAH 入门,看到有点不容易理解的章节(比如 functor 和 monad)的时候,换到 RWH,读几个例子写几个程序(消化下 map 和 fold,尝试下 point free style,等),感受下 Haskell 的不同之处,然后再切换回来,loop and advance。

有一点需要注意下,RWH 按照 Haskell 98 标准,用的 ghc 也比较旧,可能会有少量内容和新的 Haskill 2010 标准和新版的 ghc 不同。

Advertisements
This entry was posted in Computer and Internet, Programming and Algorithm and tagged . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s