def first_code

cswap-bend-cli@0.1.0.0 · fmt/yscal.bend:63

import cswap-bend-cli@0.1.0.0/fmt/yscal.bend as Yscal
import Base

63def first_code(s: String) -> U32:
64  match s:
65    case SNil{}:
66      0
67    case SCon{Chr{c}, t}:
68      c

Uses (3)

Used by (8)