def last.go
import ezx@1.11.0.0/src/add/hub.bend as Hubimport 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)