ansible/dhall/Prelude/Bool/not.dhall

11 lines
190 B
Text
Raw Normal View History

2024-11-26 05:55:44 +00:00
--| Flip the value of a `Bool`
let not
: Bool → Bool
= λ(b : Bool) → b == False
let example0 = assert : not True ≡ False
let example1 = assert : not False ≡ True
in not