Module

Perspectives.Actions

#setupAndRunBotActions

setupAndRunBotActions :: ContextInstance -> MonadPerspectives Unit

For a Context, set up its Actions. Register these Actions in the ActionRegister. Register their dependency on Assumptions in the actionAssumptionRegister in PerspectivesState. Execute the actions once.

#setupBotActions

setupBotActions :: ContextInstance -> MonadPerspectives Unit

For a Context, set up its Actions. Register these Actions in the ActionRegister. Register their dependency on Assumptions in the actionAssumptionRegister in PerspectivesState. Does not execute the actions.

#tearDownBotActions

tearDownBotActions :: ContextInstance -> MonadPerspectives Unit

Remove all actions associated with this context.

#compileBotAction

compileBotAction :: ActionType -> MP (Tuple LHS (Updater ContextInstance))

Compile the action to an Updater. Cache for later use.

Modules