def texts
import bend-lint-rules@0.2.0.0/layout/imports.bend as Importsimport Base
import bend-lint-api@0.2.0.0/shared/strings.bend as Strings
188# The texts of `es`, after `acc`, the texts so far, last first.
189def texts(es: List<&2, Entry>, acc: List<&2, String>) -> String:
190 match es:
191 case Nil{}:
192 Strings.onto(acc, "")
193 case Con{Entry{at, base, path, alias, loads, text}, rest}:
194 texts(rest, text <> acc)