Shortened haskell echo to one line.
Shortened haskell solution for ls.