matthewp / librobot

C library for creating Finite State Machines with Statecharts support
5 stars 0 forks source link

Add support for mutaters #4

Closed matthewp closed 4 years ago

matthewp commented 4 years ago

A mutater is a function that manipulates the machine's data object. it's similar to reduce in the JavaScript version, but in the C version we don't create a copy of the data object, we just mutate it in place.