undo haskell extensions