Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

persisting automata #37

Closed
happy-lisper opened this issue Apr 12, 2016 · 2 comments
Closed

persisting automata #37

happy-lisper opened this issue Apr 12, 2016 · 2 comments

Comments

@happy-lisper
Copy link

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.

@happy-lisper
Copy link
Author

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

@ztellman
Copy link
Owner

Yes, that's what I would suggest.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants