Haskell - unwanted spaces

  gillersuk 21:48 14 Dec 2004
Locked

Im trying to read in a file in Haskell (using readFile) and extract just those lines that have words on them, i.e. get rid of empty lines. does anyone know how to implement this

  howard60 21:52 14 Dec 2004

not a clue as to what Haskell is but when using word and opening a non word document with lots of rubbish in I then use find/replace to clean it up.

  gillersuk 22:03 14 Dec 2004

Haskell is a functional programming language

  howard60 09:26 15 Dec 2004

could you load the file into notepad and use find and replace to get rid of the rubbish and then save in plain text mode? I did this years ago with a basic prog file that had got corrupted.

This thread is now locked and can not be replied to.

Elsewhere on IDG sites

Xiaomi Mi Mix 2 review

See mcbess's iconic style animated for Mercedes-Benz

iPhone X news: Release date, price, new features & specs

Black Friday 2017 : date, sites participants & bonnes affaires