An ed like text editor written is haskell