好的Haskell源代码阅读和学习 [英] Good Haskell source to read and learn from
问题描述
什么是使用Haskell的一些开源程序,可以被认为是高质量的现代Haskell ?代码库越大越好。
我想学习他们的源代码。我觉得我已经超越了从小代码示例学习,这通常是深奥和小世界。我想看看代码是如何构造的,当你有很多事情发生时(日志,I / O,配置等),monad如何交互。
- 牛津风格
- 格拉斯哥风格或( this )
- Chalmers风格(或 this )
- 约克风格
- 波特兰风格或 OGI风格(或 this )
- 乌特勒支风格
- 耶鲁风格
- 特殊情况: CMU / Elliott
-
Marlow(< a href =http://www.haskell.org/pipermail/haskell/2012-November/023566.html>离开微软); Paterson ; Peyton Jones ; Gill ; Launchbury ; 休斯; Wadler ; 鸟; Claessen ; 琼斯; Tolmach ; Sheard ; Swiestra ; Augustsson ; Runciman ; Wallace ; 汤普森; Hinze ; Gibbons ; Leijen ; Hudak ; Elliott ; Finne ; Chakravarty ; - 任何撰写功能珍珠的人。 请注意,像我这样的人,Coutts,Mitchell,O'Sullivan,Lynagh等人从这些人那里学到了我们的Haskell风格。
- 阅读 xmonad source
- Oxford style
- Glasgow style or (this)
- Chalmers style (or this)
- York style
- Portland style or OGI style (or this)
- Utrecht style
- Yale style
- Special case: CMU/Elliott
Marlow(Leaving Microsoft); Paterson; Peyton Jones; Gill; Launchbury; Hughes; Wadler; Bird; Claessen; Jones; Tolmach; Sheard; Swiestra; Augustsson; Runciman; Wallace; Thompson; Hinze; Gibbons; Leijen; Hudak; Elliott; Finne; Chakravarty; and- Anyone who has written a functional pearl.
- Read the GHC base library source
- Read the xmonad source
由旧主人读取代码
$ b
http://hackage.haskell.org/package/base\">基本库来源
What are some open source programs that use Haskell and can be considered to be good quality modern Haskell? The larger the code base, the better.
I want to learn from their source code. I feel I'm past the point of learning from small code examples, which are often to esoteric and small-world. I want to see how code is structured, how monads interact when you have a lot of things going on (logging, I/O, configuration, etc.).
What I recommend.
Read code by people from different grad schools in the 1990s
Read code by the old masters certain people (incomplete list)
Note that people like me, Coutts, Mitchell, O'Sullivan, Lynagh, etc. learned our Haskell style from these guys.
Read some applications
这篇关于好的Haskell源代码阅读和学习的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!