mirror of
https://github.com/haskell-effectful/effectful.git
synced 2024-11-22 22:14:21 +03:00
Don't show minimal definition of KnownEffects in haddock
This commit is contained in:
parent
8db9985d8d
commit
a8bec72098
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user