Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data PState (s :: S -> Type) (a :: S -> Type) (s' :: S)
- pstate :: forall (s :: S -> Type) (a :: S -> Type) (s' :: S). Term s' ((s :--> PPair s a) :--> PState s a)
- prunState :: forall (s :: S -> Type) (a :: S -> Type) (s' :: S). Term s' (PState s a :--> (s :--> PPair s a))
- pevalState :: forall (s :: S -> Type) (a :: S -> Type) (s' :: S). Term s' (PState s a :--> (s :--> a))
- pexecState :: forall (s :: S -> Type) (a :: S -> Type) (s' :: S). Term s' (PState s a :--> (s :--> s))
- pget :: forall (s :: S -> Type) (s' :: S). Term s' (PState s s)
- pput :: forall (s :: S -> Type) (s' :: S). Term s' (s :--> PState s PUnit)
- pmodify :: forall (s :: S -> Type) (s' :: S). Term s' ((s :--> s) :--> PState s PUnit)
Documentation
data PState (s :: S -> Type) (a :: S -> Type) (s' :: S) Source #
Since: 1.0.0
Instances
pstate :: forall (s :: S -> Type) (a :: S -> Type) (s' :: S). Term s' ((s :--> PPair s a) :--> PState s a) Source #
Lift a Plutarch lambda into PState
.
Since: 1.0.0
prunState :: forall (s :: S -> Type) (a :: S -> Type) (s' :: S). Term s' (PState s a :--> (s :--> PPair s a)) Source #
Since: 1.0.0
pevalState :: forall (s :: S -> Type) (a :: S -> Type) (s' :: S). Term s' (PState s a :--> (s :--> a)) Source #
Since: 1.0.0