Skip to content

Consider updating misleading Alt documentation #74

Open

Description

@hdgarrood

The Alt documentation says:

The Alt type class identifies an associative operation on a type constructor. It is similar to Semigroup, except that it applies to types of kind * -> *, like Array or List, rather than concrete types like String or Number.

I think this is misleading because my understanding of the phrase "concrete type" is that it refers to a specific, named type, as opposed to a type variable. So I would say that Array, List, String, and Number are all concrete. The important point here is just to distinguish types of kind Type with types of kind Type -> Type, so I'd suggest just saying that, and avoiding the word "concrete".

Activity

  1. milesfrain commented on Jun 26, 2021

    @milesfrain
    Contributor

    Does this proposal include expanding:

    types of kind * -> *

    to:

    types of kind Type -> Type

    ?

  2. hdgarrood commented on Jun 26, 2021

    @hdgarrood
    ContributorAuthor

    Yes, * is just the old name for Type

  3. added
    good first issueFirst-time contributors who are looking to help should work on these issues.
    type: documentationImprovements or additions to documentation.
    on Dec 1, 2021
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

    good first issueFirst-time contributors who are looking to help should work on these issues.type: documentationImprovements or additions to documentation.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions