From a02a34ae94f997a2de174c270fa96024320ba621 Mon Sep 17 00:00:00 2001 From: Jeroen Bransen Date: Thu, 9 Jan 2020 11:55:40 +0100 Subject: [PATCH 1/2] Rename Internal.hs to IO.hs --- Data/Text/ICU/Translit/{Internal.hs => IO.hs} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename Data/Text/ICU/Translit/{Internal.hs => IO.hs} (100%) diff --git a/Data/Text/ICU/Translit/Internal.hs b/Data/Text/ICU/Translit/IO.hs similarity index 100% rename from Data/Text/ICU/Translit/Internal.hs rename to Data/Text/ICU/Translit/IO.hs From 104f5116dda3f74ca64a55b131ef4d4cbe5ee205 Mon Sep 17 00:00:00 2001 From: Jeroen Bransen Date: Thu, 9 Jan 2020 11:58:55 +0100 Subject: [PATCH 2/2] Rename Translit.Internal to Translit.IO and export it --- Data/Text/ICU/Translit.hs | 2 +- Data/Text/ICU/Translit/IO.hs | 2 +- text-icu-translit.cabal | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Data/Text/ICU/Translit.hs b/Data/Text/ICU/Translit.hs index 9923acb..c82d92f 100644 --- a/Data/Text/ICU/Translit.hs +++ b/Data/Text/ICU/Translit.hs @@ -23,7 +23,7 @@ module Data.Text.ICU.Translit (IO.Transliterator, trans, transliterate) where -import qualified Data.Text.ICU.Translit.Internal as IO +import qualified Data.Text.ICU.Translit.IO as IO import System.IO.Unsafe import Data.Text diff --git a/Data/Text/ICU/Translit/IO.hs b/Data/Text/ICU/Translit/IO.hs index bfffc1d..7c617d8 100644 --- a/Data/Text/ICU/Translit/IO.hs +++ b/Data/Text/ICU/Translit/IO.hs @@ -1,4 +1,4 @@ -module Data.Text.ICU.Translit.Internal +module Data.Text.ICU.Translit.IO (Transliterator, transliterator, transliterate) where diff --git a/text-icu-translit.cabal b/text-icu-translit.cabal index b617b9c..625dc2b 100644 --- a/text-icu-translit.cabal +++ b/text-icu-translit.cabal @@ -18,9 +18,9 @@ cabal-version: >=1.10 extra-source-files: include/trans.h library - exposed-modules: Data.Text.ICU.Translit - other-modules: Data.Text.ICU.Translit.Internal, - Data.Text.ICU.Translit.ICUHelper + exposed-modules: Data.Text.ICU.Translit, + Data.Text.ICU.Translit.IO + other-modules: Data.Text.ICU.Translit.ICUHelper ghc-options: -Wall