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 #ad:

↑ © L. Allison, www.allisons.org/ll/   (or as otherwise indicated).
Created with "vi (Linux)",  charset=iso-8859-1,   fetched Thursday, 18-Apr-2024 06:58:49 UTC.

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