def reason.go

bend-kit-http@0.38.2.0 · http.bend:1670

import bend-kit-http@0.38.2.0/http.bend as Http
import Base

1670def reason.go(xs: List<&2, Reason>, +status: U32) -> String:
1671  match xs:
1672    case Nil{}:
1673      ""
1674    case Con{Reason{k, v}, t}:
1675      Bool.pick(String, U32.is_eq(k, status), v, reason.go(t, status))

Uses (6)

Used by (1)