Calculate the length of a string, taking into account the fact that certain Chars may span more than 1 column.
Modulemegaparsec-9.8.3Haskell2010
Text.Megaparsec.Unicode
Utility functions for working with Unicode.
- 4 values
- Packagemegaparsec-9.8.3
- Exports4
- LanguageHaskell2010
- LicenceBSD-2-Clause
- SourceUnicode.hs
Return the length of an individual Char.
Determine whether the given Char is “wide”, that is, whether it spans 2 columns instead of one.
Determine whether the given Char is “zero-width”, that is, whether it has no visible representation and does not advance the cursor position. This includes control characters and certain Unicode zero-width characters.