Commit Graph

62 Commits

Author SHA1 Message Date
Stanislav (Stanley) Modrak
f6c70b2716
[haskell/en] Add up-to-date community version of LYAH tutorial (#4341)
* Add up-to-date community version of LYAH tutorial

* Update haskell.html.markdown
2023-08-25 12:06:35 +08:00
Alex Altair
9892df9ba9
Add boolean and and or (#4259) 2021-10-31 12:58:33 +01:00
Spencer Burris
aa8d8e408a [Haskell/en] Explain the !! operator 2020-10-15 12:34:01 -07:00
David Sampson
35fc26b754
fixed line lengths 2019-11-04 11:05:21 -06:00
David Sampson
f276866777
Info on typeclasses and types 2019-11-04 10:51:48 -06:00
Adam Bard
d063ea6469
Restore lost articles
I'm afraid we need these
2018-08-01 21:12:35 -07:00
Alex Grejuc
c421b1bd0d trimmed loc over 80 chars 2018-07-10 15:34:42 -07:00
Alex Grejuc
093e6b62a1 moved comment on sndOfTriple 2018-07-10 15:15:26 -07:00
Alex Grejuc
8c30522d58 added info about tuples, integrated wild card use into a function definition 2018-07-10 15:12:23 -07:00
Andre Polykanine A.K.A. Menelion Elensúlë
177db38831 [haskell/en] Added Happy Learn Haskell Tutorial. Fixed #2177 2017-09-10 22:26:33 +03:00
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