fresnel-0.0.0.3: high-powered optics in a small package
Safe HaskellSafe-Inferred
LanguageHaskell2010

Fresnel.Functor.Backwards

Documentation

newtype Backwards f a Source #

Constructors

Backwards 

Fields

Instances

Instances details
Applicative f => Applicative (Backwards f) Source # 
Instance details

Defined in Fresnel.Functor.Backwards

Methods

pure :: a -> Backwards f a #

(<*>) :: Backwards f (a -> b) -> Backwards f a -> Backwards f b #

liftA2 :: (a -> b -> c) -> Backwards f a -> Backwards f b -> Backwards f c #

(*>) :: Backwards f a -> Backwards f b -> Backwards f b #

(<*) :: Backwards f a -> Backwards f b -> Backwards f a #

Functor f => Functor (Backwards f) Source # 
Instance details

Defined in Fresnel.Functor.Backwards

Methods

fmap :: (a -> b) -> Backwards f a -> Backwards f b #

(<$) :: a -> Backwards f b -> Backwards f a #