Commit Graph

52 Commits

Author SHA1 Message Date
Pratik Karki
21b76a0179 Add filename(#2832) 2017-08-25 13:46:38 +05:45
Andy
63a6eb1182 [haskell] Updating second headline (#2695)
* Haskell: Updating second headline

* Haskell: Updating second headline (es)

* Haskell: Updating second headline (fr)

* Haskell: Updating second headline (pl)

* Haskell: Updating second headline (pt)

* Haskell: Updating second headline (ro)

* Haskell: Updating second headline (ru)

* Haskell: Updating second headline (cn)
2017-04-01 22:19:58 +02:00
ven
0a0080a955 #2550 2017-02-09 16:27:29 +01:00
Patrik Jansson
d064763e95 [haskell/en] some minor fixes (#2550)
* [haskell/en] some minor fixes

* Minor fixes after comments from @vendethiel
2017-02-09 16:26:11 +01:00
ven
67b36fb8fe Merge pull request #1758 from patrikja/patch-2
Some minor fixes
2016-02-11 16:54:21 +01:00
ven
8a81ef6b03 Merge pull request #1946 from xou/haskell-operators
[haskell/en] Extended section on GHCi (discussion?)
2016-01-25 11:29:35 +01:00
Robb Shecter
410cc03b09 Updating dev environment installation info 2015-12-03 14:27:24 -08:00
Niko Weh
608615360c [haskell/en] Extended section on GHCi
- Added the :i command, as i feel that it is as useful as :t.
- Added another example for :t, hopefully showcasing it's flexibility
- For consistency, changed the name of (.) from function to operator
  (as is already the case with ($)), and added a short remark in the
  GHCi section that (most) operators are also functions.
2015-10-31 22:37:13 +10:00
Niko Weh
b5cb14703a Haskell: Fix !! operator
- Use a finite list, as infinite lists are not introduced yet
- Use a list starting from 1 instead of 0, to make it obvious that
  the element returned comes from the list (and is not the second
  argument to !!).
2015-10-31 19:44:04 +10:00
Patrik Jansson
f6b8b079b4 Some minor fixes
I just noted that the example claiming that (add 10) is the same as (+10) was wrong. (A detail - it should be (10+) to match the argument order.) Then I just continued down making a few similar fixes and terminology updates. 
/Patrik

PS. I've been teaching [Advanced Functional Programming](http://www.cse.chalmers.se/edu/course/afp/) (in Haskell) for a few years at Chalmers.
2015-10-23 23:31:10 +02:00
Greg Yang
f0bbebe789 really update the comment 2015-10-20 12:10:50 -07:00
Greg Yang
18edced524 update the comment in as well 2015-10-20 12:10:01 -07:00
Greg Yang
a76be91a2d modify function composition example 2015-10-20 12:05:16 -07:00
ven
8544847845 change haskell's operator $ description wording
for #1161
2015-07-06 10:40:05 +02:00
Tiddo Langerak
745ce28d7e Fixed haskell foldr example
For #1068
2015-04-27 10:16:16 +02:00
Geoff Liu
1f49ae9306 Merge pull request #1006 from nero-luci/master
Update haskell.html.markdown. Wrong explanation about '$' operator
2015-03-27 10:48:10 -06:00
Cornel Punga
e8a1ee8912 [haskell.html.markdown] Explanation for Haskell '$' operator
with support from @geoffliu
2015-03-27 15:25:33 +02:00
Cornel Punga
2f43da109f [haskell.html.markdown] Changed explanation for Haskell '$' operator 2015-03-25 18:08:32 +02:00
Geoff Liu
a81affb302 Make the two fib functions consistent 2015-03-16 14:11:32 -06:00
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