References for learning the theory behind pure functional languages such as Haskell?

别等时光非礼了梦想. 提交于 2019-12-18 11:37:15

问题


While learning Haskell I had the feeling that the authors where not always telling me everything, so to truly understand it I would like to know the theory behind the type system, monads and concepts like that.

Most of these concepts come from Category Theory I heard, so what are some good books/websites on this topic and related topics?


回答1:


Papers by Philip Wadler and Simon Peyton Jones should get you started on the theory behind Haskell. The book The Implementation of Functional Programming Languages (available online) by Simon Peyton Jones is quite old but still interesting.




回答2:


I'd recommend looking at some of the research papers on the topic. Philip Wadler's "Comprehending Monads" and "Monads for functional programming" are two good starting places for understanding monads.

You'll find links to most at http://www.haskell.org/haskellwiki/Research_papers.




回答3:


Haskell has a Hindley Milner type system. See Wikipedia and this blog post for more details.




回答4:


Maybe you'll find this blog post useful.




回答5:


Lambda calculus is definitely imortant if you truly want to understand functional languages. I can recommend Henk Barendregt's introduction, as well as his book (full text online).



来源:https://stackoverflow.com/questions/671257/references-for-learning-the-theory-behind-pure-functional-languages-such-as-hask

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!