def slash.drop
import cswap-bend-cli@0.1.0.0/fs.bend as Fsimport Base
141# Drop through the first `/` (the input is a reversed path).
142def slash.drop(s: String) -> String:
143 match s:
144 case SNil{}:
145 SNil{}
146 case SCon{+c, +t}:
147 slash.pick(Char.is_eq(c, '/'), t, slash.drop(t))