pandora-0.4.7: A box of patterns and paradigms
Safe HaskellSafe-Inferred
LanguageHaskell2010

Pandora.Paradigm.Inventory

Documentation

zoom :: Stateful bg t => Lens Identity bg ls -> State ls ~> t Source #

magnify :: forall bg ls t. (Accessible ls bg, Stateful bg t) => t ls Source #

(=<>) :: Stateful src t => Lens mode src tgt -> mode tgt -> t src Source #

(~<>) :: Stateful src t => Lens mode src tgt -> (mode tgt -> mode tgt) -> t src Source #

adjust :: forall bg ls t. (Accessible ls bg, Stateful bg t) => (ls -> ls) -> t ls Source #

Orphan instances

Adjoint ((->) :: Type -> Type -> Type) ((->) :: Type -> Type -> Type) (Store s) (State s) Source # 
Instance details

Methods

(-|) :: (Store s a -> b) -> a -> State s b Source #

(|-) :: (a -> State s b) -> Store s a -> b Source #

Adjoint ((->) :: Type -> Type -> Type) ((->) :: Type -> Type -> Type) (Equipment e) (Environment e) Source # 
Instance details

Methods

(-|) :: (Equipment e a -> b) -> a -> Environment e b Source #

(|-) :: (a -> Environment e b) -> Equipment e a -> b Source #

Adjoint ((->) :: Type -> Type -> Type) ((->) :: Type -> Type -> Type) (Accumulator e) (Imprint e) Source # 
Instance details

Methods

(-|) :: (Accumulator e a -> b) -> a -> Imprint e b Source #

(|-) :: (a -> Imprint e b) -> Accumulator e a -> b Source #