ansible/dhall/Prelude/List/empty.dhall
2024-11-26 00:55:56 -05:00

8 lines
180 B
Text

--| An empty list of the given type
let empty
: ∀(a : Type) → List a
= λ(a : Type) → [] : List a
let example0 = assert : empty Bool ≡ ([] : List Bool)
in empty