def text.of
import ezx@1.11.0.0/src/tool/plan.bend as Planimport Base
import ezx@1.11.0.0/src/tool/world.bend as TW
361# a file's text as it was answered, None when it is missing or not answered
362def text.of(got: TW.Heard) -> Maybe<&2, String>:
363 match got:
364 case TW.Open{}:
365 None{}
366 case TW.Heard{answer}:
367 match answer:
368 case TW.Plain{m}:
369 m
370 case _:
371 None{}