Safe Haskell | None |
---|---|
Language | Haskell2010 |
We define our own normalization function instead of depending on
unicode-transforms, because we need a lazy (streaming) normalization
function for maximum efficiency. No point normalizing two whole Text
s
if we can see from the first few characters how they should be ordered.
See https://unicode.org/reports/tr15/ for a description of the algorithm
implemented here.