lean4-htt/tests/lean/ppite.lean.expected.out
Leonardo de Moura 769e3a9082 chore: fix test
2021-02-28 16:38:04 -08:00

19 lines
457 B
Text

def f : List Nat → IO Unit :=
fun (xs : List Nat) =>
List.forM xs
fun (x : Nat) =>
if x == 0 = true then
do
IO.println "foo"
IO.println "zero"
else
if x % 2 == 0 = true then
do
IO.println x
IO.println "even"
else
do
IO.println x
IO.println "odd"
if true = true then 1 else 0 : Nat
if h : true = true then 1 else 0 : Nat