Penguin
Annotated edit history of Haskell version 11 showing authors affecting page license. View with all changes included.
Rev Author # Line
8 AristotlePagaltzis 1 [Haskell | http://www.haskell.org] is a pure functional ProgrammingLanguage that employs LazyEvaluation and supports generic or PolymorphicTypes.
1 SamJansen 2
8 AristotlePagaltzis 3 It has some cool concepts, like the dot operator. If you remember your calculus, it used the . for functional composition — and so does [Haskell]! This allows you to do something similar to the pipe operator used in [Shell] scripting.
1 SamJansen 4
6 GlynWebster 5 !!! Example
6
10 AristotlePagaltzis 7 <verbatim>
8 -- sieve: prints the number of prime numbers between 2 and 100000
6 GlynWebster 9
10 sieve :: [Int] -> [Int]
11 sieve [] = []
12 sieve (h:t) = h : sieve [x| x <- t, x `mod` h /= 0]
13
10 AristotlePagaltzis 14 main = (print . length . sieve) [2..100000]
15 </verbatim>
4 GlynWebster 16
17 !!! Implementations
18
10 AristotlePagaltzis 19 [HUGS | http://haskell.org/hugs]::
20 __H__askell __U__sers' __G__ofer __S__ystem.
21 An interpreter that's good for playing around learning [Haskell].
22 (“Gofer” was a subset of [Haskell], but HUGS now implements full [Haskell].)
4 GlynWebster 23
10 AristotlePagaltzis 24 [GHC | http://www.haskell.org/ghc/]::
25 __G__lasglow __H__askell __C__ompiler.
26 A big, optimising compiler for Haskell.
7 GerwinVanDeSteeg 27
28 ----
8 AristotlePagaltzis 29 Part of CategoryProgrammingLanguages, CategoryFunctionalProgrammingLanguages