Skip to content

Commit

Permalink
Remove unnecessary brackets (#189)
Browse files Browse the repository at this point in the history
In the instance declaration of `BiComp`.
  • Loading branch information
MazeChaZer authored Oct 27, 2020
1 parent f15abcd commit afb2961
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/content/1.8/code/haskell/snippet10.hs
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
instance (Bifunctor bf, Functor fu, Functor gu) =>
Bifunctor (BiComp bf fu gu) where
bimap f1 f2 (BiComp x) = BiComp ((bimap (fmap f1) (fmap f2)) x)
bimap f1 f2 (BiComp x) = BiComp (bimap (fmap f1) (fmap f2) x)

0 comments on commit afb2961

Please sign in to comment.