Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include type constraints in documentation #591

Open
TysonMN opened this issue Aug 15, 2020 · 0 comments
Open

Include type constraints in documentation #591

TysonMN opened this issue Aug 15, 2020 · 0 comments

Comments

@TysonMN
Copy link

TysonMN commented Aug 15, 2020

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?

(I original created this issue at fsharp/fsharp-core-docs#65 instead of here.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant