def body

ezx@1.11.0.0 · src/init/plan.bend:121

import ezx@1.11.0.0/src/init/plan.bend as Plan
import Base

121# the rest of a new entry: a program that checks and runs, saying what the
122# library it was laid out with gives it, or `hello` when there is none
123def body(lays: Bool) -> String:
124  match lays:
125    case True{}:
126      "import Base\nimport ./src/lib.bend as Lib\n\ndef main() -> IO(Unit):\n  IO.print(Lib.greeting())\n"
127    case False{}:
128      "import Base\n\ndef main() -> IO(Unit):\n  IO.print(\"hello\")\n"

Uses (2)

Used by (1)