Pascal's Simplex generator written in Haskell