8a74105007
This begins updates the filesystem layout for the tests to match the new layout from the standard test suite (See: https://github.com/dhall-lang/dhall-lang/pull/265) This is still missing a part of the standard requirement, which is checking parsing and import test results against an expected output (instead of just checking that they succeed). I plan to add that in a subsequent pull request. This is mainly to unblock other features that require using the new standard layout.
8 lines
206 B
Plaintext
8 lines
206 B
Plaintext
let f =
|
|
λ(o : Optional Text)
|
|
→ Optional/fold Text o Natural (λ(j : Text) → 1) 2
|
|
|
|
in { example0 = f ([ "foo" ] : Optional Text)
|
|
, example1 = f ([] : Optional Text)
|
|
}
|