ndmitchell/ghcid — pull request #6 by JPMoresmau (2014-10-06 16:34:00+00:00)
Title: Library split

As discussed, a split into a library, an executable and a test suite. Most of the executable code I've taken off Main so that it can be referenced by the test suite.