ekmett/semigroupoids — pull request #4 by markwright (2012-06-28 04:05:57+00:00)
Title: Seems better to check base version than ghc version on whether catch is in Prelude

After sleep and coffee it seems better to check the base version than ghc version to decide if catch is in Prelude or not (as base was bumped to 4.6 in ghc head along with removing old exceptions).

Checking the base version also has the advantage of working with older ghc 7.5 snapshots.

Built with ghc 7.4.2 and 7.5.20120621.