Pearls of Functional Algorithm Design by Richard Bird - Haskell Code