def last
import ezx@1.11.0.0/src/lock/plan.bend as Planimport Base
import ezx@1.11.0.0/src/lock/world.bend as W
1069# the last file's text, "" for no file
1070def last(fs: List<&2, W.Source>) -> String:
1071 match fs:
1072 case []:
1073 ""
1074 case h <> t:
1075 match t:
1076 case []:
1077 text.of(h)
1078 case h2 <> t2:
1079 last(h2 <> t2)