-
-
Notifications
You must be signed in to change notification settings - Fork 20
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
Documentation on how to use type fields #9
Comments
PR welcome |
I do not understand this yet. So, |
Is there any other workaround, e.g. defining separate objects for each type and manually handle the case if multiple types are specified at the same time?
where only |
Using a non-monadic parser means you cannot case-match on a field to determine what to parse next.
BUT we can still use type fields like this:
This could be documented better.
The text was updated successfully, but these errors were encountered: