def keyword.rest

gralha-svg-render@0.1.0.1 · svg.bend:1044

import gralha-svg-render@0.1.0.1/svg.bend as Svg
import Base

1044def keyword.rest(p: String, s: String) -> Bool:
1045  match p:
1046    case SNil{}: keyword.blank(s)
1047    case SCon{Chr{pc}, pt}:
1048      match s:
1049        case SNil{}: False{}
1050        case SCon{Chr{c}, t}: U32.is_eq(U32.or(c, 32), pc) && keyword.rest(pt, t)

Uses (7)

Used by (2)