diff options
Diffstat (limited to 'examples/tests/test_ext_codomain.makkai')
| -rw-r--r-- | examples/tests/test_ext_codomain.makkai | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/tests/test_ext_codomain.makkai b/examples/tests/test_ext_codomain.makkai new file mode 100644 index 0000000..da0ddae --- /dev/null +++ b/examples/tests/test_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) |
