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/inline_nested.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/inline_nested.makkai')
| -rw-r--r-- | examples/inline_nested.makkai | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/examples/inline_nested.makkai b/examples/inline_nested.makkai new file mode 100644 index 0000000..e891349 --- /dev/null +++ b/examples/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) |
