val MakeTagged : 'tag -> Provider<'a,'tag> when 'tag :> IComparer<'a> |
A functor to build a collection of operations for creating and using
sets based on the given comparison function. This returns a record that
contains the functions you use to create and manipulate maps of
this kind. The returned value is much like an ML module.
To use this function you need to define a new named class that implements IComparer and
pass an instance of that class as the first argument. For example:
type MyComparer() =
interface IComparer<string> with
member self.Compare(x,y) = ...
let MyStringSetProvider = Set.MakeTagged(new MyComparer())
|