Include type constraints in documentation
The documentation for hash does not say that it requires the equality constraint on its only type parameter. Another example is the documentation for compare. It requires the comparison type constraint on its only type parameter. For convenience, here is the list of all type constraints.
Could type constraints be added to the documentation for types that have them?
This would have to be a feature in FSharp.Formatting: https://github.com/fsprojects/FSharp.Formatting
Should I create an issue there?
That'd be grand!
Done. See https://github.com/fsprojects/FSharp.Formatting/issues/591.
@bender2k14 I'll keep this one open for tracking