def last.go

ezx@1.11.0.0 · src/add/hub.bend:445

import ezx@1.11.0.0/src/add/hub.bend as Hub
import Base

445# the last of some lines, `prev` when there are none after it
446def last.go(ls: List<&2, String>, +prev: String) -> String:
447  match ls:
448    case []:
449      prev
450    case h <> t:
451      last.go(t, h)

Uses (2)

Used by (1)