Cli.type_stem: def of cli@0.2.0.0 Import: import cli@0.2.0.0/cli.bend as Cli Lines 4380-4387 of cli@0.2.0.0/cli.bend: https://jend.leeeet.dev/read.txt?path=cli@0.2.0.0/cli.bend&start_line=4380&end_line=4387 import Base # The reader name a value type reads with: str, nat, u32, f32 or bool. def type_stem(found: Maybe<&2, ValueType>) -> String: match found: case Some{TNat{}}: "nat" case Some{TU32{}}: "u32" case Some{TF32{}}: "f32" case Some{TBool{}}: "bool" case _: "str" Uses (3): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=ValueType