Commit Graph

33 Commits

Author SHA1 Message Date
Cornel Punga
9fb21f1ce4 Haskell.html.markdown. Wrong result of an expression.
The seventh Fibonacci number is 13 (odd number), so the result of 'even 13' is false.
2015-03-16 21:24:21 +02:00
Cornel Punga
4e00fa4734 Update haskell.html.markdown. Wrong explanation about '$' operator 2015-03-16 21:09:17 +02:00
Zach Munro-Cape
36a296de5d Moved explanation of indexing into a list earlier
This way, it is clear what [1..] !! 999 means later on.
2015-03-01 15:16:29 -04:00
Devin McGinty
411b2b01d3 Add example of string-as-list and fix punctuation 2015-02-01 16:39:52 -05:00
Devin McGinty
5f45319d57 Add more information on ranges in Haskell 2015-01-31 19:40:55 -05:00
Julien Cretel
458bbd063a 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).
2014-11-21 17:44:26 +00:00
hobozo
a7b885816d Update haskell.html.markdown
Corrected terminology: currying -> partial application
2014-10-21 15:30:30 -07:00
Geoffrey Liu
6933d24227 Capitalize language names. See #137 2014-10-12 12:24:52 -07:00
Aaron Raimist
718693ef48 [haskell/en] Fixes issue #510 2014-02-03 17:09:52 -06:00
Simon Shine
29f06c2d2f [haskell/en-en] Fixed 80-character margin 2013-12-02 13:09:58 +01:00
Max Goldstein
001093d53a Typo
You don't need to credit me.
2013-10-23 15:19:55 -04:00
Scott Feeney
9e14fd6d36 Haskell: fix comment out of sync with code 2013-09-20 01:25:36 -04:00
Xiao Chuan Yu
76526895ff Update haskell.html.markdown
Just a typo. https://github.com/adambard/learnxinyminutes-docs/issues/190
2013-08-12 11:17:37 -04:00
i
946a450995 '/' is a character
Do you mean no letters?
2013-08-08 15:05:01 -04:00
Lubomír Sedlář
2ad7cacc62 Add link to Real World Haskell 2013-07-09 16:42:37 +02:00
ilyagr
3c48fae101 Update haskell.html.markdown
Minor improvements to polymorphic types
2013-07-03 23:12:53 -07:00
Adam
8b536513d7 Edit for line length 2013-07-03 23:01:47 -07:00
Adam
9ad61b5586 Authors -> Contributors 2013-07-03 22:59:13 -07:00
Adam
fbd54a79a8 Merged haskell changes from ilyagr 2013-07-03 22:52:48 -07:00
ilyagr
6be90f117b Update haskell.html.markdown
Fixed unmatched parentheses
2013-07-03 17:22:49 -07:00
Adam
d92508a4cb Changed 'calls
' to 'applies' before someone else does
2013-07-02 11:05:22 -07:00
Adam
94bd7fc1ee Added more on folds wrt replacing loops 2013-07-02 11:00:30 -07:00
elisee
d553ee4c6b Fix various "it's" -> "its" for Haskell doc 2013-07-01 17:50:25 +02:00
Lubomír Sedlář
9b6c837916 Remove mentions of array
Since all the functions work with lists, calling them arrays is inaccurate. This commit also updates `myMap` function so that it works on an empty list as well as resolves ambiguity about `x` from comment.
2013-07-01 17:33:25 +02:00
Adam Bard
f7cd75c31b Merge pull request #51 from noahlz/master
Fix issue #50
2013-06-30 14:52:21 -07:00
Adam
bc0f1fca6c Removed filename from haskell tutorial (file is not executable) 2013-06-30 14:50:51 -07:00
Aditya Bhargava
7ee4774f9b fixing issues listed in "gripes about haskell" (fixes bug #45) 2013-06-30 10:03:42 -07:00
Adam
83aeecb68a Added filename parameter 2013-06-29 20:19:14 -07:00
DR6
59d801c0df Added IO to haskell's tutorial 2013-06-29 23:10:47 +01:00
noahlz
7e4bd6d17e Fix issue #50 2013-06-29 17:17:52 -04:00
Adam
aac147f3e9 Use Csharp syntax highlighting for fsharp 2013-06-28 20:53:43 -07:00
Aditya Bhargava
be8f92d804 fixes 2013-06-28 17:09:34 -07:00
Aditya Bhargava
301e021fb6 adding haskell 2013-06-28 17:01:58 -07:00