aboutsummaryrefslogtreecommitdiff
path: root/examples/ext_codomain.makkai
diff options
context:
space:
mode:
Diffstat (limited to 'examples/ext_codomain.makkai')
-rw-r--r--examples/ext_codomain.makkai5
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/ext_codomain.makkai b/examples/ext_codomain.makkai
new file mode 100644
index 0000000..da0ddae
--- /dev/null
+++ b/examples/ext_codomain.makkai
@@ -0,0 +1,5 @@
+let signature S = (x : Nat) -> theory { G :: Set }
+
+let instance s :: S = for (x : Nat), { .G = (Nat :: Set) }
+
+let set NatAgain = set-of((s 42) .G)