Skip to content

Commit 73d4c07

Browse files
committed
Fix wrapIso constructor argument
1 parent 8dc25f5 commit 73d4c07

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Data/Profunctor.purs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ arr f = rmap f identity
3737
unwrapIso :: forall p t a. Profunctor p => Newtype t a => p t t -> p a a
3838
unwrapIso = dimap wrap unwrap
3939

40-
wrapIso :: forall p t a. Profunctor p => Newtype t a => (t -> a) -> p a a -> p t t
40+
wrapIso :: forall p t a. Profunctor p => Newtype t a => (a -> t) -> p a a -> p t t
4141
wrapIso _ = dimap unwrap wrap
4242

4343
instance profunctorFn :: Profunctor (->) where

0 commit comments

Comments
 (0)