mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2025-12-06 11:15:31 -05:00
point to JST's blog post on poly compare
This commit is contained in:
parent
ab378a98bb
commit
22fce8e16f
1 changed files with 5 additions and 0 deletions
|
|
@ -93,6 +93,11 @@ you use polymorphic comparison where the type of data being compared may vary
|
|||
(e.g. it's an int now, but it may be a map later), you're planting a bug for
|
||||
the future.
|
||||
|
||||
See also:
|
||||
|
||||
- https://blog.janestreet.com/the-perils-of-polymorphic-compare/
|
||||
- https://blog.janestreet.com/building-a-better-compare/
|
||||
|
||||
=== Sometimes polymorphic operators still make sense!
|
||||
|
||||
If you just want to use polymorphic operators, it's fine! You can access them
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue