Yaml11.in.base: def of yaml-for-bend@0.1.1.0 Import: import yaml-for-bend@0.1.1.0/yaml11.bend as Yaml11 Lines 139-143 of yaml-for-bend@0.1.1.0/yaml11.bend: https://jend.leeeet.dev/read.txt?path=yaml-for-bend@0.1.1.0/yaml11.bend&start_line=139&end_line=143 import Base import yaml-for-bend@0.1.1.0/re.bend as R # Whether +s+ is an integer or float in a base other than ten, which takes # time that grows with the square of its length to read. def in.base(+s: String) -> Bool: Bool.or(Bool.or(R.matches(oct.pat(), s), R.matches(hex.pat(), s)), Bool.or(Bool.or(R.matches(bin.pat(), s), R.matches(sexa.int.pat(), s)), R.matches(sexa.float.pat(), s))) Uses (9): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.or https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=yaml-for-bend@0.1.1.0/re.bend&name=matches https://jend.leeeet.dev/definition.txt?path=yaml-for-bend@0.1.1.0/yaml11.bend&name=bin.pat https://jend.leeeet.dev/definition.txt?path=yaml-for-bend@0.1.1.0/yaml11.bend&name=hex.pat https://jend.leeeet.dev/definition.txt?path=yaml-for-bend@0.1.1.0/yaml11.bend&name=oct.pat https://jend.leeeet.dev/definition.txt?path=yaml-for-bend@0.1.1.0/yaml11.bend&name=sexa.float.pat https://jend.leeeet.dev/definition.txt?path=yaml-for-bend@0.1.1.0/yaml11.bend&name=sexa.int.pat