def emit.to

bend-visgraph@2.0.0.0 · bend_visgraph.bend:240

import bend-visgraph@2.0.0.0/bend_visgraph.bend as BendVisgraph
import Base

240def emit.to(stdout: Bool, path: String, text: String) -> IO(Unit):
241  match stdout:
242    case True{}:
243      IO.write(text)
244    case False{}:
245      write_text(path, text)

Uses (6)

Used by (1)