fresnel-0.0.0.0: high-powered optics in a small package
Safe HaskellNone
LanguageHaskell2010

Fresnel.Functor.Backwards

Documentation

newtype Backwards f a Source #

Constructors

Backwards 

Fields

Instances

Instances details
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 #

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 #