Difference between revisions of "User:Lenny222/Haskell explained to the busy"

From HaskellWiki
Jump to navigation Jump to search
 
(136 intermediate revisions by the same user not shown)
Line 1: Line 1:
You have heard about Haskell but can not afford to spend much time to find out what it is?
 
 
I hope this page will be for you.
 
 
== Introduction ==
 
{| class="wikitable"
 
|-
 
 
! Question
 
! Answer
 
|-
 
|What is Haskell?
 
| TODO
 
|-
 
|Why the name Haskell?
 
| Haskell is named after the American mathematician [http://en.wikipedia.org/wiki/Haskell_Curry Haskell Curry]
 
|}
 
 
== Syntax==
 
{| class="wikitable"
 
|-
 
! Question
 
! Answer
 
|-
 
|What is the meaning of the dollar sign "'''$'''"?
 
|"$" is a way to avoid typing too many brackets.
 
For example:
 
<haskell>foo x = h (g (f x))</haskell>
 
is the same as
 
<haskell>foo x = h $ g $ f x</haskell>
 
|-
 
|What is '''point-free style'''?
 
|'''Point-free style''' is another way to define TODO
 
|-
 
|What is the meaning of the dot "'''.'''"?
 
|"." is used in point-free style code similar to "$".
 
For example:
 
<haskell>foo x = h $ g $ f x</haskell>
 
is the same as
 
<haskell>foo = h . g . f</haskell>
 
|-
 
|What is the meaning of "'''forall'''"?
 
|TODO
 
|}
 

Latest revision as of 15:52, 19 February 2010