def by_target

bend-visgraph@2.0.0.0 · visgraph.bend:938

import bend-visgraph@2.0.0.0/visgraph.bend as Visgraph
import Base

938def by_target(es: Edges, +both: Bool, h: Halves) -> Halves:
939  match es:
940    case ENil{}:
941      h
942    case ECon{+s, +t, +w, next}:
943      by_target(next, both, place_half(both, t, s, w, place_half(True{}, s, t, w, h)))
944    case EJoin{a, b}:
945      by_target(b, both, by_target(a, both, h))

Uses (4)

Used by (1)