Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
AriFordsham committed Aug 3, 2022
1 parent 40da02f commit 331c1ad
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Plutarch/CPS/Optics/Prism.hs
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,8 @@ instance CProfunctor r (ConcretePrism r a b) where
cdimap ab cd p
= ConcretePrism
{ cprismGet =
(\a ->
ab a >>=
cprismGet p >>=
(ab >=>
cprismGet p >=>
either
(\c -> c >>= cd >>= return . Left . return)
(return . Right)
Expand Down

0 comments on commit 331c1ad

Please sign in to comment.