def body
import ezx@1.11.0.0/src/init/plan.bend as Planimport 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"