def int.of

yaml-for-bend@0.1.1.0 · yaml11.bend:180

import yaml-for-bend@0.1.1.0/yaml11.bend as Yaml11
import Base

180def int.of(+s: String) -> Maybe<&2, String>:
181  when(Maybe<&2, String>, is_int(s), u => Some{int.text(s)}, u => None{})

Uses (5)

Used by (2)