Generalise test monoid instance
This commit is contained in:
parent
f7c9297a85
commit
8442ce8dba
@ -152,7 +152,7 @@ applyPuzzleParts e = \case
|
||||
PuzzlePartsNil -> (HNil, [])
|
||||
PuzzlePartsCons f o ps -> let r = f e in bimap (HCons r) (o r :) $ applyPuzzleParts e ps
|
||||
|
||||
instance Semigroup (TestDefM '[] () ()) where
|
||||
instance Semigroup (TestDefM a b ()) where
|
||||
(<>) = (>>)
|
||||
instance Monoid (TestDefM '[] () ()) where
|
||||
instance Monoid (TestDefM a b ()) where
|
||||
mempty = pure ()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user