Adding `view` command to ihaskell