cndict 0.5.2 → 0.5.3
raw patch · 2 files changed
+3/−2 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- cndict.cabal +1/−1
- src/Data/Chinese/Pinyin.hs +2/−1
cndict.cabal view
@@ -2,7 +2,7 @@ -- documentation, see http://haskell.org/cabal/users-guide/ name: cndict-version: 0.5.2+version: 0.5.3 synopsis: Chinese/Mandarin <-> English dictionary, Chinese lexer. -- description: license: PublicDomain
src/Data/Chinese/Pinyin.hs view
@@ -72,7 +72,8 @@ , ('o', "ōóǒòo") , ('e', "ēéěèe") , ('i', "īíǐìi")- , ('u', "ūúǔùu") ]+ , ('u', "ūúǔùu")+ , ('v', "üǖǘǚǜ") ] wordToneNumber :: Text -> Maybe Int wordToneNumber txt = listToMaybe