Skip to content

Commit

Permalink
fix unused variable warning
Browse files Browse the repository at this point in the history
  • Loading branch information
byorgey committed Nov 16, 2021
1 parent 07b9c40 commit 204f344
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Data/Monoid/Cut.hs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ instance Semigroup m => Semigroup (Cut m) where
(m11 :||: _) <> (_ :||: m22) = m11 :||: m22

stimes n (Uncut m) = Uncut (stimes n m)
stimes n (m ) = m
stimes _ (m ) = m

instance (Semigroup m, Monoid m) => Monoid (Cut m) where
mempty = Uncut mempty
Expand Down

0 comments on commit 204f344

Please sign in to comment.