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

Add dhall-json support for unions as keys #1094

Merged
merged 2 commits into from
Jul 13, 2019
Merged

Conversation

Gabriella439
Copy link
Collaborator

This is inspired by this StackOverflow question:

https://stackoverflow.com/questions/56967374/dynamic-records-key-type

Copy link
Collaborator

@sjakobi sjakobi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks useful!

Is this at an experimental stage right now? At some point, docs would be nice.

Regarding the tests: I feel like they would be easier to follow and possibly more robust if they were implemented with actual dhall and json files. But that's just nitpicking!

@Gabriella439
Copy link
Collaborator Author

@sjakobi: I added documentation, but I'm going to split out the test-related changes into a separate pull request

@Gabriella439 Gabriella439 merged commit e497101 into master Jul 13, 2019
@Gabriella439 Gabriella439 deleted the gabriel/non_text_keys branch July 13, 2019 05:25
Gabriella439 added a commit that referenced this pull request Jul 13, 2019
mergify bot pushed a commit that referenced this pull request Jul 15, 2019
* Move more `dhall-json` test logic into data files

... as suggested @sjakobi in #1094 (review)

* Fix CI failure

... as caught by @sjakobi

* Fix missing import of `(<>)`

... as noted by @sjakobi
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

Successfully merging this pull request may close these issues.

None yet

2 participants