Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
Context based computation on value
Instances
Category (Lens Identity) Source # | |
Category (Lens Maybe) Source # | |
Covariant (Store s) Source # | |
Defined in Pandora.Paradigm.Inventory.Store (<$>) :: (a -> b) -> Store s a -> Store s b Source # comap :: (a -> b) -> Store s a -> Store s b Source # (<$) :: a -> Store s b -> Store s a Source # ($>) :: Store s a -> b -> Store s b Source # void :: Store s a -> Store s () Source # loeb :: Store s (a <:= Store s) -> Store s a Source # (<&>) :: Store s a -> (a -> b) -> Store s b Source # (<$$>) :: Covariant u => (a -> b) -> ((Store s :. u) := a) -> (Store s :. u) := b Source # (<$$$>) :: (Covariant u, Covariant v) => (a -> b) -> ((Store s :. (u :. v)) := a) -> (Store s :. (u :. v)) := b Source # (<$$$$>) :: (Covariant u, Covariant v, Covariant w) => (a -> b) -> ((Store s :. (u :. (v :. w))) := a) -> (Store s :. (u :. (v :. w))) := b Source # (<&&>) :: Covariant u => ((Store s :. u) := a) -> (a -> b) -> (Store s :. u) := b Source # (<&&&>) :: (Covariant u, Covariant v) => ((Store s :. (u :. v)) := a) -> (a -> b) -> (Store s :. (u :. v)) := b Source # (<&&&&>) :: (Covariant u, Covariant v, Covariant w) => ((Store s :. (u :. (v :. w))) := a) -> (a -> b) -> (Store s :. (u :. (v :. w))) := b Source # (.#..) :: (Store s ~ v a, Category v) => v c d -> ((v a :. v b) := c) -> (v a :. v b) := d Source # (.#...) :: (Store s ~ v a, Store s ~ v b, Category v, Covariant (v a), Covariant (v b)) => v d e -> ((v a :. (v b :. v c)) := d) -> (v a :. (v b :. v c)) := e Source # (.#....) :: (Store s ~ v a, Store s ~ v b, Store s ~ v c, Category v, Covariant (v a), Covariant (v b), Covariant (v c)) => v e f -> ((v a :. (v b :. (v c :. v d))) := e) -> (v a :. (v b :. (v c :. v d))) := f Source # (<$$) :: Covariant u => b -> ((Store s :. u) := a) -> (Store s :. u) := b Source # (<$$$) :: (Covariant u, Covariant v) => b -> ((Store s :. (u :. v)) := a) -> (Store s :. (u :. v)) := b Source # (<$$$$) :: (Covariant u, Covariant v, Covariant w) => b -> ((Store s :. (u :. (v :. w))) := a) -> (Store s :. (u :. (v :. w))) := b Source # ($$>) :: Covariant u => ((Store s :. u) := a) -> b -> (Store s :. u) := b Source # ($$$>) :: (Covariant u, Covariant v) => ((Store s :. (u :. v)) := a) -> b -> (Store s :. (u :. v)) := b Source # ($$$$>) :: (Covariant u, Covariant v, Covariant w) => ((Store s :. (u :. (v :. w))) := a) -> b -> (Store s :. (u :. (v :. w))) := b Source # | |
Interpreted (Store s) Source # | |
Defined in Pandora.Paradigm.Inventory.Store run :: Store s a -> Primary (Store s) a Source # unite :: Primary (Store s) a -> Store s a Source # (||=) :: Interpreted u => (Primary (Store s) a -> Primary u b) -> Store s a -> u b Source # (=||) :: Interpreted u => (Store s a -> u b) -> Primary (Store s) a -> Primary u b Source # (<$||=) :: (Covariant j, Interpreted u) => (Primary (Store s) a -> Primary u b) -> (j := Store s a) -> j := u b Source # (<$$||=) :: (Covariant j, Covariant k, Interpreted u) => (Primary (Store s) a -> Primary u b) -> ((j :. k) := Store s a) -> (j :. k) := u b Source # (<$$$||=) :: (Covariant j, Covariant k, Covariant l, Interpreted u) => (Primary (Store s) a -> Primary u b) -> ((j :. (k :. l)) := Store s a) -> (j :. (k :. l)) := u b Source # (<$$$$||=) :: (Covariant j, Covariant k, Covariant l, Covariant m, Interpreted u) => (Primary (Store s) a -> Primary u b) -> ((j :. (k :. (l :. m))) := Store s a) -> (j :. (k :. (l :. m))) := u b Source # (=||$>) :: (Covariant j, Interpreted u) => (Store s a -> u b) -> (j := Primary (Store s) a) -> j := Primary u b Source # (=||$$>) :: (Covariant j, Covariant k, Interpreted u) => (Store s a -> u b) -> ((j :. k) := Primary (Store s) a) -> (j :. k) := Primary u b Source # (=||$$$>) :: (Covariant j, Covariant k, Covariant l, Interpreted u) => (Store s a -> u b) -> ((j :. (k :. l)) := Primary (Store s) a) -> (j :. (k :. l)) := Primary u b Source # (=||$$$$>) :: (Covariant j, Covariant k, Covariant l, Covariant m, Interpreted u) => (Store s a -> u b) -> ((j :. (k :. (l :. m))) := Primary (Store s) a) -> (j :. (k :. (l :. m))) := Primary u b Source # | |
Comonadic (Store s) Source # | |
Defined in Pandora.Paradigm.Inventory.Store | |
Adjoint (Store s) (State s) ((->) :: Type -> Type -> Type) ((->) :: Type -> Type -> Type) Source # | |
Extendable (Store s) ((->) :: Type -> Type -> Type) Source # | |
Extractable (Store s) ((->) :: Type -> Type -> Type) Source # | |
Defined in Pandora.Paradigm.Inventory.Store | |
Comonad (Store s) ((->) :: Type -> Type -> Type) Source # | |
Defined in Pandora.Paradigm.Inventory.Store | |
Covariant_ (Store s) ((->) :: Type -> Type -> Type) ((->) :: Type -> Type -> Type) Source # | |
Impliable (P_Q_T ((->) :: Type -> Type -> Type) Store Identity source target :: Type) Source # | |
Impliable (P_Q_T ((->) :: Type -> Type -> Type) Store Maybe source target :: Type) Source # | |
Invariant (Flip Store r) Source # | |
Invariant (Flip (Lens available) tgt) Source # | |
type Primary (Store s) a Source # | |
type Arguments (P_Q_T ((->) :: Type -> Type -> Type) Store Identity source target :: Type) Source # | |
type Arguments (P_Q_T ((->) :: Type -> Type -> Type) Store Maybe source target :: Type) Source # | |
type Schematic Comonad (Store s) Source # | |