Skip to content
Snippets Groups Projects
Commit b84b91f5 authored by Adam Gundry's avatar Adam Gundry Committed by Marge Bot
Browse files

Representation-polymorphic HasField (fixes #22156)

This generalises the HasField class to support representation polymorphism,
so that instead of

    type HasField :: forall {k} . k -> Type -> Type -> Constraint

we have

    type HasField :: forall {k} {r_rep} {a_rep} . k -> TYPE r_rep -> TYPE a_rep -> Constraint
parent 7875e8cb
No related branches found
No related tags found
No related merge requests found
Pipeline #94969 canceled
Showing
with 69 additions and 14 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment