ztellman / automat

better automata through combinators

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

persisting automata

happy-lisper opened this issue · comments

I am looking for a way to dump the state into EDN.

I can achieve the opposite using (a/->automaton-state fsm m) though.

Please advise.

since automat.core.CompiledAutomatonState is a defrecord seems that (into {} x) would work.

Yes, that's what I would suggest.