Skip to content

Default implementations for Map.S, Set.S #476

@francoisthire

Description

@francoisthire

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

type t = Int.Set.t

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions