13896Re: "ocaml_beginners":: probably stupid question of the day
- Jun 9 8:02 AMBecause, you may have a comparison function that do not use every element
of the type actually operate the comparison. For example, a record with an
index and any kind of data where you want data to be ordered by index..
2013/6/5 Francois Berenger <berenger@...>
> **[Non-text portions of this message have been removed]
> Why do we have to provide the type + the comparison
> fonction when we create a set?
> Isn't the comparison function the only parameter
> that should be needed to "specialize" a set?
- << Previous post in topic Next post in topic >>