summaryrefslogtreecommitdiffhomepage
path: root/paren.html.markdown
diff options
context:
space:
mode:
authorJulien Cretel <j.cretel@umail.ucc.ie>2014-11-21 17:28:38 +0000
committerJulien Cretel <j.cretel@umail.ucc.ie>2014-11-21 17:44:26 +0000
commit458bbd063ad78c3ba6b0d114226f94edf0dab708 (patch)
tree00a4364f5a5be99174572eb01e7f8311f9da67c3 /paren.html.markdown
parentc37478f5b3902de1988d55d4748d16d48649b80c (diff)
Fix some inaccuracies in haskell.html.markdown
- The bottom of the "List and Tuples" section may mislead the reader into thinking that the `fst` and `snd` functions can be applied to any tuple; it's worth mentioning that those functions only apply to pairs. - The example demonstrating the use of the function-application operator (`$`) in combination with the function-composition operator (`.`) seems a bit contrived. For completeness, I've added an example that uses `$` alone. - "If statements" and "case statements" are actually expressions, in Haskell; I've replaced all occurences of the word "statement" appearing in that context by the word "expression". - Minor wording improvement (replaced "because" by a semicolon).
Diffstat (limited to 'paren.html.markdown')
0 files changed, 0 insertions, 0 deletions