ansible/dhall/Prelude/List/empty.dhall

9 lines
180 B
Text
Raw Normal View History

2024-11-26 05:55:44 +00:00
--| 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