def push
import ezx@1.11.0.0/src/sha/nar.bend as Narimport Base
226# a char put in front of the first field, which a text that does not end with
227# a NUL leaves open
228def push(+ch: Char, fs: List<&2, String>) -> List<&2, String>:
229 match fs:
230 case []:
231 [SCon{ch, SNil{}}]
232 case h <> t:
233 SCon{ch, h} <> t