dhall-haskell/dhall/tests/tutorial/unions3B.dhall
Gabriel Gonzalez aecfbc9acc
Migrate dhall-{bash,json,text} into this repository (#661)
The motivation for this change is:

* To catch build failures in downstream packages whenever we make a breaking
  change to the `dhall` API
* To reduce the amount of work I need in order to cut a release for all of
  these packages
* To better share Nix/CI-related logic between the projects

Note that I have not yet migrated `dhall-nix` in.  I'm waiting for
https://github.com/dhall-lang/dhall-nix/issues/17 to be fixed since
`dhall-nix` is incompatible with later versions of `megaparsec` due to
`hnix`.
2018-10-28 17:32:51 -07:00

5 lines
173 B
Plaintext

[ < Empty = {=} | Person : { age : Natural, name : Text } >
, < Person = { age = 23, name = "John" } | Empty : {} >
, < Person = { age = 25, name = "Amy" } | Empty : {} >
]