1
1
mirror of https://github.com/anoma/juvix.git synced 2024-12-14 17:32:00 +03:00
juvix/tests/positive/StdlibImport/StdlibImport.juvix
Łukasz Czajka 638cd0ebb5
Nat builtins (#1686)
* Fixes #1678.
* Adds the `clean-juvix-build` Makefile target, which removes all
`.juvix-build` directories in the project (necessary to do after
changing the standard library).
* Depends on PR #1688. The tests go through without merging this PR, but
it's a bug. The present PR requires the possibility to use the
`terminating` keyword with the `div` built-in, which possibility is
provided by PR #1688.
2023-01-05 16:39:40 +01:00

12 lines
131 B
Plaintext

module StdlibImport;
open import Stdlib.Prelude;
import A;
two : Nat;
two := 1 + 1;
foo : A.Foo;
foo := A.bar;
end;