def sample_typed

cli@0.2.0.0 · cli.bend:4891

import cli@0.2.0.0/cli.bend as Cli
import Base

4891def sample_typed(found: Maybe<&2, ValueType>) -> String:
4892  match found:
4893    case Some{TNat{}}: "0"
4894    case Some{TU32{}}: "0"
4895    case Some{TF32{}}: "0.0"
4896    case Some{TBool{}}: "false"
4897    case _: "x"

Uses (3)

Used by (1)