def take.cut

bend-net-url@0.4.0.0 · url.bend:147

import bend-net-url@0.4.0.0/url.bend as Url
import 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)

Uses (5)

Used by (1)