Skip to content

Implement common type-families in the Relude.Extra.Types module #156

@chshersh

Description

@chshersh

Sometimes they are needed for different tasks. Maybe we can put some of the into our relude to ease various tasks. I can think of the following useful type families:

  • type family (++) (xs :: [k]) (ys :: [k]) :: [k]
  • type family All (f :: k -> Constraint) (xs :: [k]) :: Constraint
  • Fst/Snd to get first second elements of different tuples

This is something I can think of now. Maybe more useful functions/operators can be added later.

Metadata

Metadata

Assignees

No one assigned

    Labels

    extraRelude.Extra

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions