Expand description
Type surface of submilli:session.
get is declared generic in T and runtime-generic: like every
generic function, a call passes one $TypeDescriptor per type parameter
in a trailing $types environment, carrying the type’s structural
predicate (codegen::runtime_descriptors). The host tests the
stored value against it and throws a catchable TypeError on a mismatch,
so wrong-shaped stored data never arrives statically typed. The typechecker
gates what T may be through its row in the checked-call table
(stdlib::checked_call, matched by mangled name through
is_checked_get); the declaration and that row are a matched pair.
Functions§
- is_
checked_ get - Whether
mangledis this package’s checked read. Matching the package-export mangled name rather than a receiver name is what makes the typechecker’s gate independent of how the symbol was imported —session.get,kv.getunder an aliased namespace import, and a named-importgetall carry this name, while a user’s ownsessionbinding never can. - package_
declaration