def unsigned

yaml-for-bend@0.1.1.0 · core.bend:57

import yaml-for-bend@0.1.1.0/core.bend as Core
import Base

57def unsigned(s: String) -> String:
58  match s:
59    case SCon{c, t}:
60      match c:
61        case '-':
62          t
63        case '+':
64          t
65        case _:
66          SCon{c, t}
67    case SNil{}:
68      ""

Uses (6)

Used by (5)