0.3.0
-
Added:
UUID.parser()
, which incrementally parses a hexadecimal UUID from a substring or collection of bytes. -
Added:
Parser
conformances forString
,String.UnicodeScalarView
,String.UTF8View
, and[UInt8]
.These conformances can clean up a lot of
StartsWith
noise that can accumulate in string parsing. For example:let user = Int.parser() - .skip(StartsWith(",")) + .skip(",") .take(Prefix { $0 != "," }) - .skip(StartsWith(",")) + .skip(",") .take(Bool.parser())