-
Notifications
You must be signed in to change notification settings - Fork 211
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
Fixes #1660 #1825
Fixes #1660 #1825
Conversation
Changing type to Expector (Expr Src Void) which is Validation (DhallErrors ExpectedTypeError) (Expr Src Void).
Simple recursive types are those where the type occurs in it's definition.
Since it's quiet a big change someone should have a short look at this. |
The Hydra CI fails, but it wasn't me: |
@mmhat: It looks like you will also need to add haddocks for these:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice work! Just a few small comments
@mmhat: Thanks a lot for keeping at this and completing this! 🙂 |
We do check for "simple" recursion, i.e.
will result in an decoder throwing a
RecursiveTypeError
. Types likewill result in a non-terminating decoder like before.