Http.walk.crlf: def of emerging-ezhttp@0.21.0.0 Import: import emerging-ezhttp@0.21.0.0/src/http.bend as Http Lines 1525-1533 of emerging-ezhttp@0.21.0.0/src/http.bend: https://jend.leeeet.dev/read.txt?path=emerging-ezhttp@0.21.0.0/src/http.bend&start_line=1525&end_line=1533 import Base # a chunk's data skipped: whether its CRLF has arrived, and on to the next # chunk header when it has def walk.crlf(g: Nat, +left: Nat, +rest: String, ready: Bool, go: String -> Walk) -> Walk: match ready: case True{}: go(octs.drop(rest, Nat.add(left, 2n))) case False{}: Tail{g, left, rest} Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat.add https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=emerging-ezhttp@0.21.0.0/src/http.bend&name=Walk https://jend.leeeet.dev/definition.txt?path=emerging-ezhttp@0.21.0.0/src/http.bend&name=octs.drop