图书标签: 函数式编程 Haskell haskell 编程语言 计算机 fp 编程 计算机科学
发表于2024-12-26
Haskell Programming from first principles pdf epub mobi txt 电子书 下载 2024
I am writing this book because I had a hard time learning Haskell.
It doesn't have to be that way. I've spent the last couple years actively teaching Haskell online and in person. Along the way, I started keeping notes on exercises and methods of teaching specific concepts and techniques in Haskell that eventually turned into my guide for learning haskell. That experience led me to work on this book.
If you are new to programming entirely, Haskell is a great first language. You may have noticed the trend of "Functional Programming in [Imperative Language]" books and tutorials and learning Haskell gets right to the heart of what functional programming is. Languages such as Java are gradually adopting functional concepts, but most such languages were not designed to be functional languages, after all. We would not encourage you to learn Haskell as an only language, but because Haskell is a pure functional language, it is a fertile environment for mastering functional programming techniques. That way of thinking and problem solving is useful, no matter what other languages you might know or learn.
Haskell is not a difficult language to use. Quite the opposite. I'm now able to tackle problems that I couldn't have tackled when I was primarily a Clojure, Common Lisp, or Python user. Haskell is difficult to teach effectively.
优点:毋需任何前置知识,难度梯度十分平缓,能让人很容易理解Monoid,Functor,Applicative,Monad这些typeclass,习题设置 也比较合理。 缺点:篇幅过长,将近2000页,有些地方讲的例子过多,有点啰嗦。 总的来说是一本适合haskell入门的书籍。
评分从lambda演算开始讲起,"from first principles" 所言不虚。 Haskell最佳入门读物,很多概念解释地很清楚。有些地方略有些啰嗦,毕竟作者不预设读者学过其它编程语言。
评分可能是市面上最好的Haskell入门材料
评分真是服了,如此婆婆妈妈..
评分有练习题,非常适合初学者学习,学习曲线比较低。 non-strictness 和高阶函数带来了更加模块化和更具有组合性的代码。 monoid, functor, applicative, monad, foldable, traversable。简单通用而又实用。 IO actions are like recipes. 函数式去神秘化。使用 hoogle 和 type driven development 来完成练习题挺有意思。
评分
评分
评分
评分
Haskell Programming from first principles pdf epub mobi txt 电子书 下载 2024