A few simple little things in Haskell