patch applied (packages/base): IsString is GHC-only (so why is it in the Prelude?)

Ian Lynagh igloo at earth.li
Wed Jan 24 09:13:36 EST 2007


On Wed, Jan 24, 2007 at 08:35:16AM -0500, Lennart Augustsson wrote:
> Like Ian I don't know where else it should go, and since the
> module is named GHC.Base the name seems to indicate that
> what is in it is for GHC, so I didn't think it needed to
> have any #ifdef around it.

Sorry, I wasn't clear; the definition in GHC.Base is fine, it's the
re-export in Prelude that we're worried about.

(although it would probably be nicer to have the definition in a
portable module).


Thanks
Ian



More information about the Libraries mailing list