Feature.names: def of bendvy-ecs-core@0.1.0.3 Import: import bendvy-ecs-core@0.1.0.3/feature.bend as Feature Lines 35-41 of bendvy-ecs-core@0.1.0.3/feature.bend: https://jend.leeeet.dev/read.txt?path=bendvy-ecs-core@0.1.0.3/feature.bend&start_line=35&end_line=41 import Base # List selected feature names in authored sequence order, without recursively # treating dependency references as additional selected features. def names(~S:Data,tree:Tree) -> List<&2,String>: match tree: case Empty{}: [] case Feature{name,_,_}: [name] case Sequence{left,right}: List.append(&2,String,names(~S,left),names(~S,right)) Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List.append https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/feature.bend&name=Tree