def strip.lead
import ezmcp@0.1.0.0/src/openapi.bend as Openapiimport Base
648def strip.lead(text: String, +want: Char) -> String:
649 match text:
650 case SNil{}:
651 SNil{}
652 case SCon{+ch, rest}:
653 strip.lead.at(Char.is_eq(ch, want), ch, rest)