Haskell 98 Examples

LA home
Computing
FP
 Haskell
  Haskell98
   Hello
   Lists
   Trees
   IO
   DPA
   Edit dist.
   Mistakes
   Classes
    Monads
   Strictness

 compared
Hello - hello world program.
Lists - list processing.
Trees - tree processing.
IO - input / output.
DPA - dynamic programming algorithm.
Edit dist. - string edit distance.
Mistakes - some common slip ups.
Classes - types classes.
  Monads
Strictness - evaluation order.
 
Compared - λ : Haskell : SML.

ghc -- Glasgow Haskell compiler
Unix command: ghc file.hs
file suffixes:
- .lhs   literate Haskell                 unlit
- .hs    plain Haskell                    ghc
- .hc    C from the Haskell compiler      gcc
- .c     C not from the Haskell compiler  gcc
- .s     assembly language                as
- other  passed directly to the linker    ld
See:
RR = S. Peyton Jones (ed). Haskell 98 Language and Libraries. The Revised Report. CUP, 254 p., 2003.
S. Peyton Jones et al. Report on the Programming Language Haskell 98. 1 Feb 1999.
www:

↑ © L. Allison, www.allisons.org/ll/   (or as otherwise indicated).
Created with "vi (Linux)",  charset=iso-8859-1,   fetched Tuesday, 14-Aug-2018 19:08:08 EDT.

Free: Linux, Ubuntu operating-sys, OpenOffice office-suite, The GIMP ~photoshop, Firefox web-browser, FlashBlock flash on/off.