purescript/purescript — pull request #629 by paf31 (2014-10-09 04:41:56+00:00)
Title: Better overlapping instances check

@garyb @jdegoes @joneshf Mind reviewing this?

This is asymptotically slower than the old check, but I think it is more robust, and easier to understand.