diff --git a/haskell/Pre.hs b/haskell/Pre.hs index 3ce4dd9..567dbbd 100644 --- a/haskell/Pre.hs +++ b/haskell/Pre.hs @@ -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 ()