Server.pub.world.step: def of bolt@1.27.0.0 Import: import bolt@1.27.0.0/src/lsp/server.bend as Server Lines 350-364 of bolt@1.27.0.0/src/lsp/server.bend: https://jend.leeeet.dev/read.txt?path=bolt@1.27.0.0/src/lsp/server.bend&start_line=350&end_line=364 import Base import bolt@1.27.0.0/src/lint/world.bend as W import bolt@1.27.0.0/src/lsp/files/service.bend as F # the planner's questions answered and the World gone round again, or the # World as it is once the planner asks none def pub.world.step( ~fs: F.Files, asks: List<&2, W.Ask>, +world: W.World, go: W.World -> IO(W.World) ) -> IO(W.World): match asks: case Nil{}: IO.pure(W.World, world) case Con{a, rest}: do IO: rs : List<&2, W.Reply> <- pub.answers(~fs, a <> rest) go(pub.world.more(world, rs)) Uses (10): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO.bind https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO.pure https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=bolt@1.27.0.0/src/lint/world.bend&name=Ask https://jend.leeeet.dev/definition.txt?path=bolt@1.27.0.0/src/lint/world.bend&name=Reply https://jend.leeeet.dev/definition.txt?path=bolt@1.27.0.0/src/lint/world.bend&name=World https://jend.leeeet.dev/definition.txt?path=bolt@1.27.0.0/src/lsp/files/service.bend&name=Files https://jend.leeeet.dev/definition.txt?path=bolt@1.27.0.0/src/lsp/server.bend&name=pub.answers https://jend.leeeet.dev/definition.txt?path=bolt@1.27.0.0/src/lsp/server.bend&name=pub.world.more