def base.of
import bend-lint-pack@0.1.1.0/common.bend as Commonimport Base
174def base.of(parts: List<&2, String>, name: String) -> String:
175 match parts:
176 case Con{h, t}:
177 h
178 case Nil{}:
179 name
import bend-lint-pack@0.1.1.0/common.bend as Commonimport Base
174def base.of(parts: List<&2, String>, name: String) -> String:
175 match parts:
176 case Con{h, t}:
177 h
178 case Nil{}:
179 name