def word.body.put

emerging-eztoml@0.9.0.0 · main.bend:1280

import emerging-eztoml@0.9.0.0/main.bend as EmergingEztoml
import Base

1280# one character of a numeral spelling
1281def word.body.put(lead: Bool, +cc: Char, out: List<&2, Char>) -> List<&2, Char>:
1282  match lead:
1283    case True{}:
1284      word.body.put.sign(Bool.or(Char.is_eq(cc, '+'), Char.is_eq(cc, '-')), cc, out)
1285    case False{}:
1286      word.body.put.us(Char.is_eq(cc, '_'), cc, out)

Uses (7)

Used by (1)