def cc.pick

cswap-bend-cli@0.1.0.0 · json/lex.bend:135

import cswap-bend-cli@0.1.0.0/json/lex.bend as Lex
import Base

135# Code of the char at index i; 0 past the end.
136def cc.pick(m: Maybe<&2, Char>) -> U32:
137  match m:
138    case None{}:
139      0
140    case Some{Chr{c}}:
141      c

Uses (3)

Used by (1)