def take.cut
import bend-kit-url@0.4.1.0/url.bend as Urlimport Base
147# Bool.pick evaluates both arms; a split that recursed inside it would reverse acc at every byte.
148def take.cut(acc: String, rest: String) -> String & String:
149 (String.reverse(String.drop(acc, 1n)), rest)