diff options
| author | tslil <tslil@posteo.de> | 2026-05-05 11:15:07 +0100 |
|---|---|---|
| committer | tslil <tslil@posteo.de> | 2026-05-05 14:49:59 +0100 |
| commit | 89304b27ea81270684810c18d3315c9d399beaf9 (patch) | |
| tree | dbdf3ef92a09dec4b1434553355df8b99d9affbe /examples/ext_codomain.makkai | |
| parent | 1c47d2c4e0e9bd8ff38a7ef4939b78ac4722092b (diff) | |
address remaining TODO, fix issues with left-nesting for for and ext, add motivation blurb to the readme
Diffstat (limited to 'examples/ext_codomain.makkai')
| -rw-r--r-- | examples/ext_codomain.makkai | 5 |
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) |
