def want
import ezx@1.11.0.0/src/ez/gate.bend as Gateimport Base
17# the `#|` lines of a source file, in order
18def want(ls: List<&2, String>) -> List<&2, String>:
19 match ls:
20 case []:
21 []
22 case +h <> t:
23 want.put(String.starts_with(h, "#|"), h, want(t))