def Run.message

bend-lint-rules@0.2.0.0 · performance/missed_fork.bend:334

import bend-lint-rules@0.2.0.0/performance/missed_fork.bend as MissedFork
import Base

334def Run.message(loop: String, texts: List<&2, String> & List<&2, String>) -> String:
335  match texts:
336    case Tuple{+written, +called}:
337      loop
338        ++ " calls itself in "
339        ++ count(called)
340        ++ " lets that follow each other ("
341        ++ String.join(Run.lets(written, called, []), ", ")
342        ++ "), and these calls run one after the other. "
343        ++ costs()
344        ++ " To run them in parallel, merge the lets into one: `"
345        ++ String.join(written, " ")
346        ++ " = "
347        ++ String.join(called, " ")
348        ++ "`."
349        ++ expected()

Uses (10)

Used by (1)