We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ed49c27 commit 077aee5Copy full SHA for 077aee5
1 file changed
src/Data/Singletons/TypeLits/Internal.hs
@@ -140,8 +140,9 @@ withKnownNat SNat f = f
140
withKnownSymbol :: Sing n -> (KnownSymbol n => r) -> r
141
withKnownSymbol SSym f = f
142
143
--- | The promotion of 'error'
144
-type family Error (str :: Symbol) :: k
+-- | The promotion of 'error'. This version is more poly-kinded for
+-- easier use.
145
+type family Error (str :: k0) :: k
146
$(genDefunSymbols [''Error])
147
148
-- | The singleton for 'error'
0 commit comments