nanq 1.1.0 → 1.1.1
raw patch · 2 files changed
+5/−6 lines, 2 filesdep −microlens-platformPVP ok
version bump matches the API change (PVP)
Dependencies removed: microlens-platform
API changes (from Hackage documentation)
Files
- Data/Kanji.hs +4/−3
- nanq.cabal +1/−3
Data/Kanji.hs view
@@ -42,7 +42,6 @@ import qualified Data.Text as ST import qualified Data.Text.Lazy as LT import Lens.Micro-import Lens.Micro.Platform () import Data.Kanji.TenthQ import Data.Kanji.NinthQ@@ -87,12 +86,14 @@ len = fromIntegral . length instance AsKanji ST.Text where- _Kanji = each . _Kanji+ _Kanji = packed . _Kanji+ where packed f b = ST.pack <$> f (ST.unpack b) len = fromIntegral . ST.length instance AsKanji LT.Text where- _Kanji = each . _Kanji+ _Kanji = packed . _Kanji+ where packed f b = LT.pack <$> f (LT.unpack b) len = fromIntegral . LT.length
nanq.cabal view
@@ -2,7 +2,7 @@ category: Natural Language Processing -version: 1.1.0+version: 1.1.1 synopsis: Performs 漢字検定 (National Kanji Exam) level analysis on given Kanji. @@ -45,7 +45,6 @@ , bytestring >= 0.10.6.0 , containers >= 0.4.0.0 , microlens >= 0.3.5.0- , microlens-platform >= 0.1.7.0 , text library@@ -53,7 +52,6 @@ , bytestring >= 0.10.6.0 , containers >= 0.4.0.0 , microlens >= 0.3.5.0- , microlens-platform >= 0.1.7.0 , text exposed-modules: Data.Kanji,