1
1
mirror of https://github.com/anoma/juvix.git synced 2025-01-05 22:46:08 +03:00
juvix/tests/positive/Imports/A.juvix
janmasrovira 447f2f1dcf
Keep regular comments in html output (#1766)
- Fixes #1723 
- It refactors parsing/scoping so that the scoper does not need to read
files or parse any module. Instead, the parser takes care of parsing all
the imported modules transitively.
2023-01-27 13:24:28 +01:00

15 lines
213 B
Plaintext

module A;
module M;
module N;
infix 3 t;
type T :=
t : T;
end ;
infixr 2 +;
axiom + : Type → Type → Type;
end;
import M;
f : M.N.T;
f (_ M.N.t _) := Type M.+ Type M.+ M.MType;
end;