fsharp / fsharp/fsharp-core-docs
Include type constraints in documentation
- 主要语言
- 没有语言数据
- 星标
- 37
- 派生
- 20
- 平均合并
- 6 分钟
- 30 天内合并 PR
- 1
描述
The [documentation for `hash`](https://fsharp.github.io/fsharp-core-docs/reference/fsharp-core-operators.html#hash) does not say that it requires the `equality` constraint on its only type parameter. Another example is the [documentation for `compare`](https://fsharp.github.io/fsharp-core-docs/reference/fsharp-core-operators.html#compare). It requires the `comparison` type constraint on its only type parameter. For convenience, here is the [list of all type constraints](https://docs.microsoft.com/en-us/dotnet/fsharp/language-reference/generics/constraints).
Could type constraints be added to the documentation for types that have them?
贡献指南
这个仓库没有索引到贡献指南
评估
这个 Issue 还没有评估数据。