Skip to content

Commit

Permalink
Merge branch 'master' of github.com:ekmett/either
Browse files Browse the repository at this point in the history
  • Loading branch information
ekmett committed Jan 17, 2016
2 parents 8c94387 + 7ed6620 commit 687f8fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Data/Either/Validation.hs
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ _Success = prism
Success y -> Right y)
{-# INLINE _Success #-}

type Iso s t a b = (Profunctor p, Functor f) => p a (f b) -> p s (f t)
type Iso s t a b = forall p f. (Profunctor p, Functor f) => p a (f b) -> p s (f t)

iso :: (s -> a) -> (b -> t) -> Iso s t a b
iso sa bt = dimap sa (fmap bt)
Expand Down

0 comments on commit 687f8fc

Please sign in to comment.