collapse state to a single marker
cleanup, doc
Merge pull request #3 from sclasen/collapse-markers

Collapse markers
doc.go
doc
utility method for getting an empty decision slice
doc, todo
tigertonic Marshalled-like adapter that turns a typed Decider function into the expected type
Merge pull request #4 from sclasen/more-precise-typing

TypedDecider that lets you write deciders that take the specific data type for your FSM
remname FSM EmptyData -> DataType, EmptyInputOrResult -> EventDataType, and make it easier to specify DataType
Merge pull request #5 from sclasen/more-precise-typing

rename FSM EmptyData -> DataType, EmptyInputOrResult -> EventDataType
allow FSMs to process marker events that are not the FSM managed state markers
findLastEvents doesnt return errors
cleanup
init fsm.stop on start, doc tweaks
First cut at tight error handling.

When an error occurs, we collect the details, and then self-signal the workflow with the error details.

TODO: FSM should notice error event markers and use the ErrorHandler appropriately, perhaps transitioning to a (canned?) error *FSMState that knows how to
deal with the signal
serialize event ids, not the full event in Error States,  add the concept of an ErrorState and a default impl to FSM
update Tick to use the FSM errorState to process any error events and give us a good state and data to use when errors have occurred
wire in error handling to Tick
cleanup