summaryrefslogtreecommitdiff
path: root/libraries/base/include/UnicodeVersion.h
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2020-02-06 18:23:30 -0500
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-02-12 17:22:37 -0500
commitf5ffd8d9ec776db708e690c4fdbf671afa8df48f (patch)
tree7092307f960d4025da0d9cf0094bf5179fb8aea2 /libraries/base/include/UnicodeVersion.h
parent059c3c9d7c84fc37c69e9f414ff736d47081e72c (diff)
downloadhaskell-f5ffd8d9ec776db708e690c4fdbf671afa8df48f.tar.gz
base: Expose GHC.Unicode.unicodeVersion
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.
Diffstat (limited to 'libraries/base/include/UnicodeVersion.h')
-rw-r--r--libraries/base/include/UnicodeVersion.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libraries/base/include/UnicodeVersion.h b/libraries/base/include/UnicodeVersion.h
new file mode 100644
index 0000000000..14852682ac
--- /dev/null
+++ b/libraries/base/include/UnicodeVersion.h
@@ -0,0 +1,7 @@
+#if 0
+This is an automatically generated file: do not edit
+Generated by ubconfc at Mon Feb 10 11:42:08 EST 2020
+@generated
+#endif
+
+#define UNICODE_VERSION_NUMS [12,0,0]