feat(pbs): add concrete generic structs and free functions
This commit is contained in:
@@ -81,3 +81,9 @@ See [Runtime Random integration](runtime-random-integration.md) for opaque gener
|
||||
## Parameterized contract integration
|
||||
|
||||
[Generic contracts](generic-contracts.md) extend nominal contract declarations with explicit type arguments. Valid Array/Fn/optional/tuple compositions preserve their existing logical and physical rules after substitution. No generic-only Dynamic transport, view wrapper, altered resource limit or new runtime opcode is introduced.
|
||||
|
||||
[Generic structs and free functions](generic-structs-and-free-functions.md) extend
|
||||
that concrete model to state and bodies. A closed free-function application such
|
||||
as `identity<int>` supplies an ordinary concrete Fn through an empty-environment
|
||||
Closure. Lambdas inside specialized bodies preserve explicit captures and complete
|
||||
logical value groups. The open template never becomes a polymorphic Fn value.
|
||||
|
||||
Reference in New Issue
Block a user