blob: e5e37eecb509311b744306771975a8eb46e8f7b7 [file]
def tst1 (x : Nat) : IO Unit := do
if x > 0 then
IO.println "hello"
IO.println "world"
def tst2 (xs : List Nat) : IO Unit :=
xs.forM fun x => do
IO.println x