Expand description
Bridge between the algebra-layer KernelScope surface
and polydat’s PolydatKernel scope-binding primitives.
Implements KernelScope for a PolydatKernelScope wrapper that
holds a (canonical, parent) PolydatKernel pair. Each
scope(coords) call delegates to
PolydatKernel::for_iteration — the established polydat
primitive for “materialize a fresh per-iteration child of
parent based on canonical with these bindings.”
This is the load-bearing bridge for the PR 9 migration:
once KernelScope for PolydatKernelScope exists, the algebra-
layer ScopedKernelStream<PolydatKernelScope> can replace
the legacy ComprehensionIter everywhere nb-activity
drives comprehension dispatch.
Structs§
- Polydat
Kernel Scope - Wrapper around a
(canonical, parent)PolydatKernelpair that implementsKernelScope.
Functions§
- polydat_
value_ to_ tuple_ value - Reverse conversion — polydat
Valueto algebra-layerTupleValue. Only the subset ofValuevariants that have a correspondingTupleValueare converted; richerValuevariants (Bytes,Json,Ext,Handle,Vec*, etc.) returnNoneso the caller can handle the unsupported case explicitly. - tuple_
value_ to_ polydat_ value - Convert an algebra-layer
TupleValueto a polydatValue.