-
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
Remove old union literal syntax #1176
Conversation
…as standardized in dhall-lang/dhall-lang#573.
Dhall.Tutorial itself was already using the modern union syntax. The unions2 testcase seemed to use some pre-constructors style, so I removed it. The same functionality was covered by the unions3 test.
@@ -33,7 +33,6 @@ tests = | |||
, Test.Tasty.testGroup "Unions" | |||
[ example 0 "./tests/tutorial/unions0A.dhall" "./tests/tutorial/unions0B.dhall" | |||
, example 1 "./tests/tutorial/unions1A.dhall" "./tests/tutorial/unions1B.dhall" | |||
, example 2 "./tests/tutorial/unions2A.dhall" "./tests/tutorial/unions2B.dhall" |
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.
How come BTW that we have tests for the tutorial both here and in https://github.com/dhall-lang/dhall-lang/tree/master/tests/normalization/success/haskell-tutorial?
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.
No good reason 🙂
I discovered that the |
I also wonder why |
Actually it's just a 10% size increase. Nothing to worry about. |
Hydra complains about some breakage in |
@sjakobi: I don't think there is any reason why |
…as standardized in dhall-lang/dhall-lang#573.
Fixes #1175.
TODO: