summaryrefslogtreecommitdiff
path: root/libraries/base/cbits/ubconfc
Commit message (Collapse)AuthorAgeFilesLines
* base: Expose GHC.Unicode.unicodeVersionBen Gamari2020-02-121-0/+20
| | | | | | | | | | | | | This exposes a Data.Version.Version representing the version of the Unicode database used by `base`. This should clear up some confusion I have seen in tickets regarding with which Unicode versions a given GHC can be expected to work. While in town I also regenerated (but did not update) the Unicode database with database 12.0.0. Strangely, the file cited in the README no longer existed. Consequently, I used https://www.unicode.org/Public/12.0.0/ucd/UnicodeData.txt and was slightly surprised to find that there were a few changes.
* Fixes isAlphaNum re. isAlpha/isNumber and doc fix (trac issue #10412)ARJANEN Loïc Jean David2018-04-191-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | Corrects the inconsistency between Data.Char.isAlphaNum, Data.Char.isAlpha and Data.Char.isNumber. Indeed, isAlphaNum was returning True not only when isAlpha or isNumber returned True but also when isMark did. The selectors for the Mn, Mc and Me general categories where removed from the macro generating u_iswalnum in ubconfc. Also, Data.Char.isAlphaNum's documentation was changed to state that isAlphaNum returns true not only for Unicode number digits but for Unicode numbers in general in Unicode.hs. Signed-off-by: ARJANEN Loïc Jean David <arjanen.loic@gmail.com> Reviewers: hvr, ekmett, lelf, bgamari Reviewed By: bgamari Subscribers: thomie, carter GHC Trac Issues: #10412 Differential Revision: https://phabricator.haskell.org/D4593
* base: Mark WCsubst.c as generated for PhabricatorAustin Seipp2014-10-211-0/+1
| | | | Signed-off-by: Austin Seipp <austin@well-typed.com>
* Refactor to avoid need for `Unicode.hs-boot`Herbert Valerio Riedel2014-10-111-5/+5
| | | | | | | | | | | This avoids the import-cycle caused by the import of `Foreign.C.Types` by using `Int` instead of `CInt` for the Unicode classification functions. This refactoring also allows to remove a couple of `fromIntegral`s. Reviewed By: rwbarton, ekmett Differential Revision: https://phabricator.haskell.org/D328
* Fix ubconfcIan Lynagh2008-06-131-3/+3
| | | | | | The current code doesn't seem to be what was used to generate WCsubst.c, so I'm not sure if it never worked, or if my tools work slightly differently to those of the previous user.
* [project @ 2005-03-16 10:55:04 by simonmar]simonmar2005-03-161-1/+6
| | | | Back-port changes from WCsubst.c:iswprint()
* [project @ 2005-03-14 15:57:57 by simonmar]simonmar2005-03-141-0/+339
Add the script used to generate WCsubst.c