def grab_name
import mylsm-lsm-store@0.6.0.1/src/Fs.bend as Fsimport Base
446# Pure accumulator step (leaf: matches structurally, never recurses).
447# Past-end fetches answer "" (SNil{}), which is skipped.
448def grab_name(nm: String, acc: List<String>) -> List<String>:
449 match nm:
450 case SNil{}:
451 acc
452 case SCon{_, _}:
453 Con{nm, acc}