Haskell 98 Examples

LA home
   Edit dist.

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.
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
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 Wednesday, 08-Feb-2023 08:14:27 UTC.

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