We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8dc25f5 commit 73d4c07Copy full SHA for 73d4c07
1 file changed
src/Data/Profunctor.purs
@@ -37,7 +37,7 @@ arr f = rmap f identity
37
unwrapIso :: forall p t a. Profunctor p => Newtype t a => p t t -> p a a
38
unwrapIso = dimap wrap unwrap
39
40
-wrapIso :: forall p t a. Profunctor p => Newtype t a => (t -> a) -> p a a -> p t t
+wrapIso :: forall p t a. Profunctor p => Newtype t a => (a -> t) -> p a a -> p t t
41
wrapIso _ = dimap unwrap wrap
42
43
instance profunctorFn :: Profunctor (->) where
0 commit comments