double-metaphone 0.0.1 → 0.0.2
raw patch · 2 files changed
+5/−5 lines, 2 files
Files
double-metaphone.cabal view
@@ -1,5 +1,5 @@ name: double-metaphone-version: 0.0.1+version: 0.0.2 license: GPL license-file: LICENSE homepage: https://github.com/christian-marie/double-metaphone@@ -13,8 +13,8 @@ cabal-version: >= 1.8 build-type: Simple description:- - Compute two metaphones of a Char7 bytestring, based on Perl's text-DoubleMetaphone++ Compute two metaphones of a latin1 encoded bytestring, based on Perl's text-DoubleMetaphone extra-source-files: cbits/*.c
lib/Language/Phonetic/DoubleMetaphone.hs view
@@ -51,8 +51,8 @@ :: ByteString -- ^ The input string, should be Latin-1 or Char7 encoded. -> (ByteString, ByteString)-doubleMetaphone = doubleMetaphoneBounded maxBound-+doubleMetaphone = doubleMetaphoneBounded cIntMaxBound+ where cIntMaxBound = fromIntegral (maxBound :: CInt) foreign import ccall unsafe "double-metaphones.h DoubleMetaphone" c_double_metaphone :: CString