Statemachine micro-library for F#