lean4-htt/tests/lean/ppite.lean.expected.out
2021-08-03 09:13:18 +02:00

19 lines
436 B
Text

def f : List Nat → IO Unit :=
fun xs =>
List.forM xs
fun x =>
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