learning me some haskell.