@@ -29,14 +29,14 @@ class AsConstructor (ctor :: Symbol) a s | s ctor -> a where
2929
3030instance
3131 ( Generic s
32− , ErrorUnlessTrue ctor s (HasCtorP ctor (Rep s))
32+ , ErrorUnless ctor s (HasCtorP ctor (Rep s))
3333 , GAsConstructor ctor (Rep s) a
3434 ) => AsConstructor ctor a s where
3535
3636 _Ctor = repIso . _GCtor @ctor
3737
38−type family ErrorUnlessTrue (ctor :: Symbol) (s :: Type) (contains :: Bool) :: Constraint where
39− ErrorUnlessTrue ctor s 'False
38+type family ErrorUnless (ctor :: Symbol) (s :: Type) (contains :: Bool) :: Constraint where
39+ ErrorUnless ctor s 'False
4040 = TypeError
4141 ( 'Text "The type "
4242 ':<>: 'ShowType s
@@ -44,7 +44,7 @@ type family ErrorUnlessTrue (ctor :: Symbol) (s :: Type) (contains :: Bool) :: C
4444 ':<>: 'ShowType ctor
4545 )
4646
47− ErrorUnlessTrue _ _ 'True
47+ ErrorUnless _ _ 'True
4848 = ()
4949
5050class GAsConstructor (ctor :: Symbol) (f :: Type -> Type) a | ctor f -> a where