def chomp.of

yaml-for-bend@0.1.1.0 · scan.bend:964

import yaml-for-bend@0.1.1.0/scan.bend as Scan
import Base

964def chomp.of(c: Char) -> Maybe<&2, Chomp>:
965  match c:
966    case '+':
967      Some{Keep{}}
968    case '-':
969      Some{Strip{}}
970    case _:
971      None{}

Uses (7)

Used by (1)