aboutsummaryrefslogtreecommitdiff
path: root/examples/tests/test_inline_nested.makkai
diff options
context:
space:
mode:
authortslil <tslil@posteo.de>2026-05-06 11:21:22 +0100
committertslil <tslil@posteo.de>2026-05-06 13:35:14 +0100
commit1b4abb8fdd81f6de2166ef3f064a77fd5622fe83 (patch)
tree7a1bea5e296fc8607fed97d7fe82de618959fd32 /examples/tests/test_inline_nested.makkai
parentfbb8835cb73fd51e130f4e319290eeb44eadfcf5 (diff)
clean up examples vs tests
Diffstat (limited to 'examples/tests/test_inline_nested.makkai')
-rw-r--r--examples/tests/test_inline_nested.makkai9
1 files changed, 9 insertions, 0 deletions
diff --git a/examples/tests/test_inline_nested.makkai b/examples/tests/test_inline_nested.makkai
new file mode 100644
index 0000000..e891349
--- /dev/null
+++ b/examples/tests/test_inline_nested.makkai
@@ -0,0 +1,9 @@
+let signature Outer = theory {
+ Inner :: theory { F :: Set }
+}
+
+let instance my_outer :: Outer = {
+ .Inner = { .F = (Nat :: Set) }
+}
+
+let set MyF = set-of(my_outer .Inner .F)