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

State & Event enums with associated values complete example #69

Open
dekhaus opened this issue Oct 12, 2018 · 0 comments
Open

State & Event enums with associated values complete example #69

dekhaus opened this issue Oct 12, 2018 · 0 comments

Comments

@dekhaus
Copy link

dekhaus commented Oct 12, 2018

Hi

I'm having some trouble understanding the 'State & Event enums with associated values' example on the main project page. I'm specifically confused by incomplete enum definitions ...

enum StrState: StateType {
case str(String) ...
}
enum StrEvent: EventType {
case str(String) ...
}

Can someone please respond to this question with a complete example or update the project README ?

Thanks
Dave

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