One good exercise got from the book"Eloquent javaScript". This program aims at converting text files to HTML files, with a good implementation of functional programming .