def walk.at

emerging-ezhttp@0.21.0.0 · src/http.bend:1571

import emerging-ezhttp@0.21.0.0/src/http.bend as Http
import Base

1571# a chunk header that has arrived, or not yet
1572def walk.at(+g: Nat, rest: String, c: Cut, go: String -> Walk) -> Walk:
1573  match c:
1574    case NoCut{}:
1575      Hold{1n+g, rest}
1576    case Cut{+before, +after}:
1577      walk.hex(g, rest, before, after, hex.well(chunks.token(before)), go)

Uses (7)

Used by (1)