def last.go

ezx@1.11.0.0 · src/add/plan.bend:757

import ezx@1.11.0.0/src/add/plan.bend as Plan
import Base

757# the last of some lines, `prev` when there are none after it
758def last.go(ls: List<&2, String>, +prev: String) -> String:
759  match ls:
760    case []:
761      prev
762    case h <> t:
763      last.go(t, h)

Uses (2)

Used by (1)