mirror of
https://github.com/anoma/juvix.git
synced 2024-12-12 14:28:08 +03:00
43d114f9b1
Progress for #1742 * Remove putStr and putStrLn * Remove named Nats (one, two, ...)
17 lines
234 B
Plaintext
17 lines
234 B
Plaintext
module test006;
|
|
|
|
open import Stdlib.Prelude;
|
|
open import Stdlib.Data.Nat.Ord;
|
|
|
|
terminating
|
|
loop : Nat;
|
|
loop := loop;
|
|
|
|
e : Nat;
|
|
e := (if (3 > 0) 1 loop) + (if (2 < 1) loop (if (7 >= 8) loop 1));
|
|
|
|
main : IO;
|
|
main := printNatLn e;
|
|
|
|
end;
|