cs_lang:haskell
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
cs_lang:haskell [2012/04/29 22:06] – cedric | cs_lang:haskell [2012/04/30 09:36] – [Increment a number] cedric | ||
---|---|---|---|
Line 16: | Line 16: | ||
====== Simple examples ====== | ====== Simple examples ====== | ||
+ | |||
+ | You can compare functions below with the [[cs_lang: | ||
+ | |||
===== Increment a number ===== | ===== Increment a number ===== | ||
<code haskell> | <code haskell> | ||
- | let inc n = (+) n 1 | + | let inc = (+) n |
-- Alternative: | -- Alternative: |
cs_lang/haskell.txt · Last modified: 2012/04/30 16:51 by cedric