def chunks.scan.step
import emerging-ezhttp@0.21.0.0/src/http.bend as Httpimport Base
332# apply one scan step
333def chunks.scan.step(step: Next, rest: Cut -> Maybe<&2, String>)
334 -> Maybe<&2, String>:
335 match step:
336 case Stop{}:
337 None{}
338 case Reject{why}:
339 Some{why}
340 case Go{cut}:
341 rest(cut)