why is Data.Set not a Monad?y

Stefan O'Rear stefanor at cox.net
Sun May 6 16:03:56 EDT 2007

On Sun, May 06, 2007 at 04:00:09PM -0400, Dan Doel wrote:
> above, since, for example, there already is a Monad typeclass.

You could just have used {-# OPTIONS_GHC -fno-implicit-prelude #-} and
rebound do. 

> {-# OPTIONS -fglasgow-exts -fallow-undecidable-instances #-}

OPTIONS is obsolescent - new code should use OPTIONS_GHC, etc.  (since
options are by there nature compiler dependant)


More information about the Libraries mailing list