mirror of
https://github.com/anoma/juvix.git
synced 2024-12-12 14:28:08 +03:00
21d5034e60
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
22 lines
315 B
Plaintext
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;
|