I was wondering why Containers does not provide a default implementation for Map.S or Set.S in modules for List, String, etc... Most of the time the default comparison function is used and this could avoid the to duplicate the functor instantiation.
For example, it would be nice to write
type 'a t = 'a String.Map.t
or
I was wondering why
Containersdoes not provide a default implementation forMap.SorSet.Sin modules forList,String, etc... Most of the time the default comparison function is used and this could avoid the to duplicate the functor instantiation.For example, it would be nice to write
or