def scheme
import bend-kit-router@0.2.0.0/target.bend as Targetimport Base
155def scheme(s: String) -> Bool:
156 match s:
157 case SNil{}:
158 False{}
159 case SCon{Chr{c}, t}:
160 Bool.and(alpha(c), scheme.tail(t))
import bend-kit-router@0.2.0.0/target.bend as Targetimport Base
155def scheme(s: String) -> Bool:
156 match s:
157 case SNil{}:
158 False{}
159 case SCon{Chr{c}, t}:
160 Bool.and(alpha(c), scheme.tail(t))