For some reason cabal wasn't properly recompiling this file locally to pick up the introduction of an ambiguity error.