feat(pbs): add parametric arrays and concrete generic contracts
Support explicit contract type parameters, canonical nominal applications, recursive substitution, concrete implementations and instantiated editor views. Complete parametric Array syntax and contextual construction integration. Preserve type origins across imports and reexports, fix trait argument stack order, and relocate global slots before lifecycle assembly. Publish specs, installed examples and consolidated discussion lessons. Validate frontend, common pipeline, architecture, LSP and installed knowledge gates, plus the full production VM conformance corpus with 14 generic fixtures.
This commit is contained in:
+1
-1
@@ -47,7 +47,7 @@ fn createCounter() -> Fn() -> int {
|
||||
```
|
||||
|
||||
Each factory call creates independent state. Two closures capturing the same
|
||||
counter intentionally share state. Arrays use `array (Fn() -> int)` and existing
|
||||
counter intentionally share state. Arrays use `array<(Fn() -> int)>` and existing
|
||||
optional-read rules. Methods become function values through explicit lambdas
|
||||
capturing their receiver. The old `declare callback`, callback barrel exports
|
||||
and `bind(context, function)` are rejected.
|
||||
|
||||
Reference in New Issue
Block a user