A set of simple Haskell Functions