forked from links-lang/links
-
Notifications
You must be signed in to change notification settings - Fork 0
Module
Henry edited this page Feb 8, 2025
·
1 revision
While not mentioned in Links' documentation, there is in fact a way to create modules in languages like Agda or its implementation OCaml. Below is a usage example.
module One {
typename One = Int;
}
typename Two = One.One;
sig foo : (One.One) ~> One.One
fun foo (a) {
a
}