def from.rev.go

shake@0.7.0.0 · src/cli.bend:223

import shake@0.7.0.0/src/cli.bend as Cli
import Base

223# a buffer of chars consed on the front (the last read first), folded onto acc
224def from.rev.go(cs: List<&2, Char>, acc: String) -> String:
225  match cs:
226    case Nil{}:
227      acc
228    case Con{+h, t}:
229      from.rev.go(t, SCon{h, acc})

Uses (3)

Used by (1)