On 9/18/07, Hugh Perkins <[EMAIL PROTECTED]> wrote:
> Just out of curiosity, how could one do something like a factory, so
> that by default a library uses, say, Data.Map, but by making a simple
> assignment we can switch the library to use a different
> implementation?

(And of course, the 10 million dollar question: could one make GHC
come with a standard factory state, with defaults, which we can update
with our own factories in our code if we wish?)
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to