Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow the end user to add new constructors #40

Open
marcosh opened this issue Feb 1, 2023 · 0 comments
Open

Allow the end user to add new constructors #40

marcosh opened this issue Feb 1, 2023 · 0 comments

Comments

@marcosh
Copy link
Owner

marcosh commented Feb 1, 2023

Currently the StateMachine type has a predefined set of constructors which provide some basic combinators to build more complex machines.

I'm definitely not sure that this set is complete in any way, so it could be interesting to allow end users to add new ways of creating a state machine.

Some possible ideas which could be interesting to experiment:

  • define a StateMachine with its running function, similarly to Mealy
  • use a technique to make data types extensible, like trees that grow or data types a la carte (I don't know this stuff, so it might not be we is needed)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant