The unicode replacement character � .
ModuleAgda-2.7.0.1Haskell2010
Agda.Utils.Char
Agda strings uses Data.Text [1], which can only represent unicode scalar values [2], excluding
the surrogate code points 3. To allow primStringFromList to be injective
we make sure character values also exclude surrogate code points, mapping them to the replacement
character U+FFFD.
See #4999 for more information.
- 4 values
- PackageAgda-2.7.0.1
- Exports4
- LanguageHaskell2010
- LicenceMIT
- SourceChar.hs
Is a character a surrogate code point.
Map surrogate code points to the unicode replacement character.
Total function to convert an integer to a character. Maps surrogate code points
to the replacement character U+FFFD.