Skip to content

Commit

Permalink
Thanks, hlint
Browse files Browse the repository at this point in the history
  • Loading branch information
glguy committed Apr 14, 2016
1 parent c387f9c commit dd6cc12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Control/Lens/Internal/Zoom.hs
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ instance (Applicative f, Semigroup a, Monad m) => Semigroup (Freed f m a) where
Freed (Free f) <> Freed (Free g) = Freed $ Free $ liftA2 (liftM2 (<>)) f g

instance (Applicative f, Monoid a, Monad m) => Monoid (Freed f m a) where
mempty = Freed $ Pure $ mempty
mempty = Freed $ Pure mempty

Freed (Pure a) `mappend` Freed (Pure b) = Freed $ Pure $ a `mappend` b
Freed (Pure a) `mappend` Freed (Free g) = Freed $ Free $ liftA2 (liftM2 mappend) (pure $ return a) g
Expand Down

0 comments on commit dd6cc12

Please sign in to comment.