mirror of
https://github.com/anoma/juvix.git
synced 2024-12-01 00:04:58 +03:00
e2f2d0a2f4
This PR resolves a few bugs in the Makefile targets for formatting and type checking Juvix files, which were preventing the capture of type checking errors for our examples and bad formatting for all the Juvix files in the repository. With this PR, our code should now be clean, and we can expect every file to be properly formatted and type checked. Changes made: - [x] Updated `make format-juvix-files` - [x] Updated `make check-format-juvix-files` - [x] Formatted all Juvix files - [x] Comment a fragment in `examples/milestone/Bank/Bank.juvix` In the future, we will drastically simplify the Makefile once we improve the `format` and the `type check` command for example posted here: - #2066 - #2087 Related: - #2063 - #2040 (due to some typechecking errors we're not capturing before) - #2105 - https://github.com/anoma/juvix/issues/2059
8 lines
83 B
Plaintext
8 lines
83 B
Plaintext
module DuplicateClause;
|
|
|
|
axiom T : Type;
|
|
|
|
id : T → T := λ {t := t};
|
|
id t := t;
|
|
|