def locate.real

ezx@1.11.0.0 · src/tool/run.bend:109

import ezx@1.11.0.0/src/tool/run.bend as Run
import Base
import ezx@1.11.0.0/src/tool/world.bend as TW

109# a path that has a real path, or why it has none
110def locate.real(ok: Bool, +path: String, +text: String) -> IO(TW.Answer):
111  match ok:
112    case False{}:
113      IO.pure(TW.Answer, TW.Miss{"ez: " ++ path ++ ": " ++ String.trim(text)})
114    case True{}:
115      located(String.trim(text))

Uses (8)

Used by (1)