GeneralCategory

GeneralCategory :: # (opaque)

The Unicode General_Category (gc) property from DerivedGeneralCategory.txt. It classifies scalar values as letters, marks, numbers, punctuation, symbols, separators, controls, private use, surrogates, or unassigned code points; it does not choose glyphs.

fold_runs : Str, state, (state, Run -> state) -> state

Fold maximal adjacent runs in one forward decode of a complete Str.

iter_runs : Str -> Iter(Run)

Lazily visit maximal adjacent runs. The iterator retains source.

Value : GeneralCategory
Run : { range : TextRange, value : Value }