mirror of
https://github.com/sayo-hs/heftia.git
synced 2024-11-30 10:59:09 +03:00
[fix] Try to make the error message more understandable (maybe).
This commit is contained in:
parent
d1ce1cf474
commit
4f6d65b82e
@ -124,4 +124,4 @@ type family IsMember (f :: Instruction) fs where
|
||||
IsMember f (_ ': fs) = IsMember f fs
|
||||
IsMember _ '[] = 'False
|
||||
|
||||
type Member u f fs = (IsMember f fs ~ 'True, HasMembership u f fs)
|
||||
type Member u f fs = (HasMembership u f fs, IsMember f fs ~ 'True)
|
||||
|
@ -131,4 +131,4 @@ type family IsMemberH (h :: Signature) hs where
|
||||
IsMemberH h (_ ': hs) = IsMemberH h hs
|
||||
IsMemberH _ '[] = 'False
|
||||
|
||||
type MemberH u h hs = (IsMemberH h hs ~ 'True, HasMembershipH u h hs)
|
||||
type MemberH u h hs = (HasMembershipH u h hs, IsMemberH h hs ~ 'True)
|
||||
|
Loading…
Reference in New Issue
Block a user