Skip to content

Commit

Permalink
Update module name for Costar (#127)
Browse files Browse the repository at this point in the history
  • Loading branch information
JordanMartinez committed Feb 5, 2021
1 parent 2e72b1d commit 25bf43a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Data/Lens/Grate.purs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import Data.Lens.Types (Grate, Grate', Optic, AGrate)
import Data.Newtype (unwrap)
import Data.Profunctor (dimap)
import Data.Profunctor.Closed (closed)
import Data.Profunctor.Costar (Costar(..))
import Data.Functor.Costar (Costar(..))

grate :: forall s t a b. (((s -> a) -> b) -> t) -> Grate s t a b
grate f pab = dimap (#) f (closed pab)
Expand Down

0 comments on commit 25bf43a

Please sign in to comment.