Skip to content

Include type constraints in documentation #65

Open

Description

@TysonMN

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?

Activity

  1. cartermp commented on Aug 14, 2020

    @cartermp
    Member

    This would have to be a feature in FSharp.Formatting: https://github.com/fsprojects/FSharp.Formatting

  2. added
    fsdocs
    on Aug 14, 2020
  3. TysonMN commented on Aug 15, 2020

    @TysonMN
    Author

    Should I create an issue there?

  4. cartermp commented on Aug 15, 2020

    @cartermp
    Member

    That'd be grand!

  5. TysonMN commented on Aug 15, 2020

    @TysonMN
    Author
  6. dsyme commented on Aug 16, 2020

    @dsyme
    Contributor

    @bender2k14 I'll keep this one open for tracking

  7. reopened this on Aug 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    fsdocs

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions