We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec5574b commit b534a8cCopy full SHA for b534a8c
servant/src/Servant/Types/SourceT.hs
@@ -102,6 +102,7 @@ instance Functor m => Semigroup (SourceT m a) where
102
-- fromStepT (Effect (Just Stop))
103
instance Functor m => Monoid (SourceT m a) where
104
mempty = fromStepT mempty
105
+ mappend = (<>)
106
107
-- | Doesn't generate 'Error' constructors. 'SourceT' doesn't shrink.
108
instance (QC.Arbitrary a, Monad m) => QC.Arbitrary (SourceT m a) where
@@ -179,6 +180,7 @@ instance Functor m => Semigroup (StepT m a) where
179
180
--
181
instance Functor m => Monoid (StepT m a) where
182
mempty = Stop
183
184
185
-- | Doesn't generate 'Error' constructors.
186
instance (QC.Arbitrary a, Monad m) => QC.Arbitrary (StepT m a) where
0 commit comments