hughperkins: > 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? Polymorphism, specifically, typeclasses, would be one option here. -- Don