Server.got: def of bolt@1.27.0.0 Import: import bolt@1.27.0.0/src/lsp/server.bend as Server Lines 695-707 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=695&end_line=707 import Base import bolt@1.27.0.0/src/lsp/docs.bend as Docs import bolt@1.27.0.0/src/lsp/transport/service.bend as T import bolt@1.27.0.0/src/lsp/checker/answer.bend as C import bolt@1.27.0.0/src/lsp/files/service.bend as F import bolt@1.27.0.0/src/lsp/enc.bend as Enc # what recv gave: the handle and maybe a body def got( # noqa: L001 serve loop IO ~H: Type, ~tr: T.Transport, ~fs: F.Files, ~ck: C.Checker, rr: H & Maybe<&2, String>, ee: Enc.Enc, docs: List<&2, Docs.Doc>, rest: H -> Enc.Enc -> List<&2, Docs.Doc> -> IO(Unit) ) -> IO(Unit): (h, m) = rr turn(~H, ~tr, ~fs, ~ck, m, h, ee, docs, rest) Uses (13): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO 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=Pair https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Sigma https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Unit https://jend.leeeet.dev/definition.txt?path=bolt@1.27.0.0/src/lsp/checker/answer.bend&name=Checker https://jend.leeeet.dev/definition.txt?path=bolt@1.27.0.0/src/lsp/docs.bend&name=Doc https://jend.leeeet.dev/definition.txt?path=bolt@1.27.0.0/src/lsp/enc.bend&name=Enc 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=turn https://jend.leeeet.dev/definition.txt?path=bolt@1.27.0.0/src/lsp/transport/service.bend&name=Transport