cndict 0.5.4 → 0.5.5
raw patch · 2 files changed
+6/−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/CCDict.hs +5/−1
cndict.cabal view
@@ -2,7 +2,7 @@ -- documentation, see http://haskell.org/cabal/users-guide/ name: cndict-version: 0.5.4+version: 0.5.5 synopsis: Chinese/Mandarin <-> English dictionary, Chinese lexer. -- description: license: PublicDomain
src/Data/Chinese/CCDict.hs view
@@ -347,7 +347,11 @@ joinEntry :: Entry -> Entry -> Entry joinEntry e1 e2 = Entry { entrySimplified = entrySimplified e1- , entryTraditional = entryTraditional e1+ , entryTraditional =+ if entryTraditional e1 == entrySimplified e1 ||+ entryTraditional e2 == entrySimplified e1+ then entrySimplified e1+ else entryTraditional e1 , entryPinyin = entryPinyin e1 ++ entryPinyin e2 , entryDefinition = entryDefinition e1 ++ entryDefinition e2 }