bburdette / schelme / Schelme.StateGet

StateGet - functions for retrieving the most nested state instance ('a') in a Step.

getEvalBodyStepState : Schelme.EvalStep.EvalBodyStep a -> Maybe a

Get the state from an EvalBodyStep.

getEvalTermStepState : Schelme.EvalStep.EvalTermStep a -> Maybe a

Get the state from an EvalTermStep.

getEvalTermsStepState : Schelme.EvalStep.EvalTermsStep a -> Maybe a

Get the state from an EvalTermsStep.

getListStepState : Schelme.EvalStep.ListStep a -> Maybe a

Get the state from an ListStep.

getEvalFtnStepState : Schelme.EvalStep.EvalFtnStep a -> Maybe a

Get the state from an EvalFtnStep.

getBuiltInStepState : Schelme.EvalStep.BuiltInStep a -> Maybe a

Get the state from an BuiltInStep.

getSideEffectorStepState : Schelme.EvalStep.SideEffectorStep a -> Maybe a

Get the state from an SideEffectorStep.