Wirespec.wire.read.count: def of emerging-ezhttp@0.21.0.0 Import: import emerging-ezhttp@0.21.0.0/src/wirespec.bend as Wirespec Lines 240-243 of emerging-ezhttp@0.21.0.0/src/wirespec.bend: https://jend.leeeet.dev/read.txt?path=emerging-ezhttp@0.21.0.0/src/wirespec.bend&start_line=240&end_line=243 import Base import emerging-ezhttp@0.21.0.0/src/http.bend as Http # what to do after a read of m octets, when their count alone decides it; # none when their text is needed (wire.read.next) (SPEC.md HTTP-CLI-6) def wire.read.count(+h: Http.Hear, +m: Nat) -> Maybe<&2, Read>: wire.read.count.at(h, m, Nat.is_eq(m, 0n)) Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat.is_eq https://jend.leeeet.dev/definition.txt?path=emerging-ezhttp@0.21.0.0/src/http.bend&name=Hear https://jend.leeeet.dev/definition.txt?path=emerging-ezhttp@0.21.0.0/src/wirespec.bend&name=Read https://jend.leeeet.dev/definition.txt?path=emerging-ezhttp@0.21.0.0/src/wirespec.bend&name=wire.read.count.at