1
1
mirror of https://github.com/anoma/juvix.git synced 2024-12-12 14:28:08 +03:00
juvix/tests/positive/272/M.juvix
Jonathan Cubides 21d5034e60
Fix formatting for all Juvix files in tests folder (#2404)
In this PR, we ran the Juvix formatter so that we can now freely run
`make format`, `make check`, or `make pre-commit` without any unexpected
file changes.

This goes after:

- https://github.com/anoma/juvix/pull/2486
2023-10-31 18:36:34 +01:00

22 lines
315 B
Plaintext

module M;
type Bool :=
| true : Bool
| false : Bool;
type T := t : T;
type Nat :=
| zero : Nat
| suc : Nat → Nat;
f : _
| false false := true
| true _ := false;
type Pair (A : Type) (B : Type) :=
mkPair : A → B → Pair A B;
g : _
| (mkPair (mkPair zero false) true) := mkPair false zero;