haskell / text-icu

This package provides the Haskell Data.Text.ICU library, for performing complex manipulation of Unicode text.
BSD 2-Clause "Simplified" License
47 stars 41 forks source link

Missing Directions. #44

Closed ekmett closed 2 years ago

ekmett commented 5 years ago

The following direction codes were added later to ICU.

U_FIRST_STRONG_ISOLATE = 19 U_LEFT_TO_RIGHT_ISOLATE = 20 U_RIGHT_TO_LEFT_ISOLATE = 21 U_POP_DIRECTIONAL_ISOLATE = 22

The Direction enum doesn't include them.

This came up when binding the bidirectional algorithm bits of ICU in a separate package and trying to share types with text-icu.

tkx68 commented 2 years ago

This is now fixed meanwhile.

vshabanov commented 2 years ago

text-icu-0.8.0 now supports these new direction codes: https://hackage.haskell.org/package/text-icu-0.8.0/docs/Data-Text-ICU-Char.html#t:Direction