Skip to content
PACKAGES

operators.concat_map

Kind: function

Source: src/graphrefly/operators/_higher_order.py:243

concat_map(g: Graph, outer: Node[Any], project: Callable[[Any], Any], *, name: str | None = None, recipe: Recipe | None = None)

Hold one inner at a time: project an outer value when none is held and keep later ones in order, unprojected, until the held inner ends (O-concatMap).

The behavior is the root’s operator contract: the operator contracts.