Config.nearest: def of bolt@1.27.0.0 Import: import bolt@1.27.0.0/src/config.bend as Config Lines 249-257 of bolt@1.27.0.0/src/config.bend: https://jend.leeeet.dev/read.txt?path=bolt@1.27.0.0/src/config.bend&start_line=249&end_line=257 import Base # the first file that was there, parsed; none, the defaults def nearest(rs: List<&2, Maybe<&2, String>>) -> Config: match rs: case Nil{}: none() case Con{Some{text}, rest}: parse(text) case Con{None{}, rest}: nearest(rest) Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=bolt@1.27.0.0/src/config.bend&name=Config https://jend.leeeet.dev/definition.txt?path=bolt@1.27.0.0/src/config.bend&name=none https://jend.leeeet.dev/definition.txt?path=bolt@1.27.0.0/src/config.bend&name=parse