1
1
mirror of https://github.com/anoma/juvix.git synced 2024-12-11 08:25:46 +03:00
juvix/tests/positive/MicroJuvix/Box.juvix
Jonathan Cubides 3b3ea45da9
Rename MiniJuvix to Juvix (#259)
* Renaming MiniJuvix to Juvix

* Make Ormolu happy

* Make Hlint happy

* Remove redundant imports

* Fix shell tests and add target ci to our Makefile

* Make pre-commit happy
2022-07-08 13:59:45 +02:00

21 lines
193 B
Plaintext

module Box;
inductive Box (A : Type) {
box : A → Box A;
};
inductive T {
t : T;
};
b : Box _;
b ≔ box t;
id : {A : Type} → A → A;
id x ≔ x;
tt : _;
tt ≔ id t
end;