Random Code Post of the Day (procedural haskell, parse file)

This is a random code post of the day, with haskell, read a log file, search for a term and then write when the term is found to another file.

Haskell Source, open a file and search for a term

Source


https://jvmnotebook.googlecode.com/svn/trunk/blog/haskell/RandomParseFile


----


It was a cloudy, sultry afternoon; the seamen were lazily lounging about the decks, or vacantly gazing over into the lead-coloured waters. Queequeg and I were mildly employed weaving what is called a sword-mat, for an additional lashing to our boat. So still and subdued and yet somehow preluding was all the scene, and such an incantation of reverie lurked in the air, that each silent sailor seemed resolved into his own invisible self.

Comments

Popular posts from this blog

Is Java the new COBOL? Yes. What does that mean, exactly? (Part 1)

On Unit Testing, Java TDD for developers to write

JVM Notebook: Basic Clojure, Java and JVM Language performance