Plan.says: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/tool/plan.bend as Plan Lines 834-841 of ezx@1.11.0.0/src/tool/plan.bend: https://jend.leeeet.dev/read.txt?path=ezx@1.11.0.0/src/tool/plan.bend&start_line=834&end_line=841 import Base import ezx@1.11.0.0/src/tool/world.bend as TW import ezx@1.11.0.0/src/share/say.bend as Say # what a person is told once the link is written: that the directory is not # on PATH, when it is not, and what was linked where def says(install: Bool, +world: TW.World) -> List<&2, String>: +called = name(world) +at = bin.at(world) ++ "/" ++ called +done = Bool.pick(String, install, Say.installed(called, at), Say.linked(called, at)) Bool.pick(List<&2, String>, on.path(bin.at(world), TW.env.path(TW.env(world))), [done], ["warning: " ++ bin.at(world) ++ " is not on PATH", done]) Uses (13): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.pick https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.append https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/share/say.bend&name=installed https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/share/say.bend&name=linked https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/tool/plan.bend&name=bin.at https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/tool/plan.bend&name=name https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/tool/plan.bend&name=on.path https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/tool/world.bend&name=World https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/tool/world.bend&name=env https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/tool/world.bend&name=env.path