unicode.mdwn 656 B

123456789101112131415161718
  1. Is there a way in Haskell to get all the Unicode character properties? Not just
  2. the common ones, but also whitespace and getting values of digits (not just
  3. ASCII ones) and so on.
  4. This should be in pure Haskell. No reason to use external bindings for
  5. something that can be generated from the UCD.
  6. List of relevant packages in Hackage:
  7. - [[!hackage base]] - `Data.Char` provides a `generalCategory` function, but
  8. that's all.
  9. - [[!hackage unicode-properties]]
  10. - [[!hackage hxt-charproperties]]
  11. - [[!hackage charset]]
  12. In particular, it seems none of these provides the **Basic Type** of a
  13. character, which is what I need for [[/projects/language-idan]].