Learn You a Haskell for Great Good!: A Beginner's Guide (Paperback)

Miran Lipovaca

買這商品的人也買了...

商品描述

It's all in the name: Learn You a Haskell for Great Good! is a hilarious, illustrated guide to this complex functional language. Packed with the author's original artwork, pop culture references, and most importantly, useful example code, this book teaches functional fundamentals in a way you never thought possible.

You'll start with the kid stuff: basic syntax, recursion, types and type classes. Then once you've got the basics down, the real black belt master-class begins: you'll learn to use applicative functors, monads, zippers, and all the other mythical Haskell constructs you've only read about in storybooks.

As you work your way through the author's imaginative (and occasionally insane) examples, you'll learn to:

  • Laugh in the face of side effects as you wield purely functional programming techniques
  • Use the magic of Haskell's "laziness" to play with infinite sets of data
  • Organize your programs by creating your own types, type classes, and modules
  • Use Haskell's elegant input/output system to share the genius of your programs with the outside world

Short of eating the author's brain, you will not find a better way to learn this powerful language than reading Learn You a Haskell for Great Good!

商品描述(中文翻譯)

「名字說明一切:《學習 Haskell 真是太棒了!》是一本幽默、插圖豐富的指南,介紹這個複雜的函數式語言。書中除了作者原創的藝術作品、流行文化參考,還有最重要的實用範例程式碼,以一種你從未想過的方式教授函數式基礎知識。

你將從基礎開始:基本語法、遞迴、型別和型別類別。一旦你掌握了基礎,真正的高手課程就開始了:你將學習使用應用函子、單子、拉鍊和其他你只在故事書中讀到的神秘 Haskell 構造。

當你通過作者富有想像力(有時也有點瘋狂)的例子進行學習時,你將學會:

- 在純函數式編程技術中對抗副作用,笑看它的臉
- 利用 Haskell「懶惰」的魔力來處理無窮數據集
- 通過創建自己的型別、型別類別和模組來組織你的程式
- 利用 Haskell 優雅的輸入/輸出系統與外界分享你的程式之精髓

除了吃掉作者的腦袋,你不會找到比閱讀《學習 Haskell 真是太棒了!》更好的學習這個強大語言的方法。」