-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
testEquality compares two keys for equality that possibly have a different type, but it doesn't allow comparing Key s Int and Key s Maybe by producing a proof HRefl
-- this definition to go into Data.Type.Equality
data (a :: k1) :~~: (b :: k2) where
HRefl :: a :~~: a
testHEquality :: Key s a -> Key s b -> Maybe (a :~~: b) Consider adding it when it when they get added to base.
Metadata
Metadata
Assignees
Labels
No labels