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`.
9 lines
291 B
Plaintext
9 lines
291 B
Plaintext
let Empty = < Empty = {=} | Person : { name : Text, age : Natural } >
|
|
in let Person =
|
|
λ(p : { name : Text, age : Natural }) → < Person = p | Empty : {} >
|
|
in [ Empty
|
|
, Person { name = "John", age = 23 }
|
|
, Person { name = "Amy" , age = 25 }
|
|
, Empty
|
|
]
|