A compiler for a subset of Haskell