[Haskell-cafe] closed classes [was: Re: exceptions vs. Either]

MR K P SCHUPKE k.schupke at imperial.ac.uk
Thu Aug 12 10:13:44 EDT 2004


>but if f is exported, that's probably not what you want.

Why...

Read my post carefully - I am suggesting that you close the class
on IMPORT so

module X

import a
import b 
import c

So we close the class here - after reading all possible instances
from imported files a,b, and c

	Keean.


More information about the Haskell-Cafe mailing list