cabal-version: 3.0
name: scxml-statecharts
version: 0.1.0.0
x-revision: 1
synopsis: Typed statecharts from SCXML, via Template Haskell
description:
Define a statechart () in SCXML inside a Haskell
module and get typed states, events and a step function out of it.
> [scxml|
>
>
>
>
>
>
>
>
> |]
generates @FsmState@, @FsmEvent@ and the functions
@initiateStateMachine :: m FsmState@ and
@notifyStateMachine :: FsmState -> FsmEvent -> m FsmState@, which call the
callbacks named in the @\