Re:Things that Idris improves things over Haskell
by e12e on Friday June 16, 2017 @10:34AM
(#14569354)
Well, how long is the sequence "a<Backspace>". It's two characters and one, two or zero letters?
[ Parent
| on HN ]
Re:Things that Idris improves things over Haskell
by rnhmjoj on Friday June 16, 2017 @11:14AM
(#14569691)
This has been covered a few times before. See this for example: https://mathiasbynens.be/notes/javascript-unicode
Data.Text seems to recognize symbols made of several codepoints (like emoji) as one but still counts diacritics and combining characters as different symbols.