Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
contramapContent :: forall c1 c2 f a. Contravariant f => (c2 -> c1) -> Decoding f c1 a -> Decoding f c2 a Source #
Converts the content type of a Decoding
. The
constraint means that Contravariant
ff
can be Headless
but not Headed
.