basic Bibliography manipulation in haskell