Don't show minimal definition of KnownEffects in haddock

This commit is contained in:
Andrzej Rybczak 2023-12-16 10:39:48 +01:00
parent 8db9985d8d
commit a8bec72098

View File

@ -131,6 +131,9 @@ infixr 5 ++
-- | Calculate length of a list of known effects.
class KnownEffects (es :: [Effect]) where
knownEffectsLength :: Int
knownEffectsLength =
-- Don't show "minimal complete definition" in haddock.
error "knownEffectsLength"
instance KnownEffects es => KnownEffects (e : es) where
knownEffectsLength = 1 + knownEffectsLength @es