
Alternately we could just hand-roll the instances so it doesn't change
whether it gets imported if the user writes
import Control.Applicative (Const(..))
but I agree with simplifying the presentation.
On Mon, Oct 14, 2013 at 5:03 PM, Ross Paterson
On Mon, Oct 14, 2013 at 09:33:38AM -0700, Eric Mertens wrote:
It would be handy for Control.Applicative.Const to have the various derivable instances (Eq, Ord, Read, Show).
In particular Read and Show would make debugging easier.
I'd suggest redefining getConst as a function rather than a field to make the derived Read and Show instances simpler. Ditto WrappedMonad. _______________________________________________ Libraries mailing list Libraries@haskell.org http://www.haskell.org/mailman/listinfo/libraries