7 ms·
I've always liked fsm in Erlang and used it for a few things. Can anyone tell me why Elixir didn't include it in the core?
by AtticHacker 10y ago
I've always liked fsm in Erlang and used it for a few things. Can anyone tell me why Elixir didn't include it in the core?
- phieromnimon 10y agoThey decided that it was too confusing and suggested that developers seek other solutions. I wrote an Elixir wrapper around it 2 days ago, and pushed it up to hex with the name gen_fsm. Here's the github page: https://github.com/pavlos/gen_fsm https://github.com/pavlos/gen_fsm if you want to check it out.