packages feed

palindromes 0.3 → 0.3.1

raw patch · 4 files changed

+8/−2 lines, 4 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

RELEASE_HISTORY view
@@ -1,6 +1,11 @@ Release history:  --------+03072012 Version 0.3.1+--------+Also showing length in DNA palindromes.++-------- 01072012 Version 0.3 -------- Uses Data.Bytestring instead of String
palindromes.cabal view
@@ -1,5 +1,5 @@ name:                   palindromes-version:                0.3+version:                0.3.1 synopsis:               Finding palindromes in strings homepage:               http://www.jeuring.net/homepage/palindromes/index.html description:
src/Data/Algorithms/Palindromes/Options.hs view
@@ -258,5 +258,6 @@ headerHelpMessage =       "*********************\n"   ++ "* Palindrome Finder *\n"+  ++ "* version 0.3.1     *\n"   ++ "*********************\n"   ++ "Usage:"
src/Data/Algorithms/Palindromes/PalindromesDNA.hs view
@@ -282,7 +282,7 @@ showPalindromeDNA :: B.ByteString -> (Int,Int) -> String showPalindromeDNA input (len,pos) =    let startpos = pos - len `div` 2-  in show startpos ++ " to " ++ show (startpos+len) ++ "\t" ++ show (B.take len $ B.drop startpos input)+  in (show startpos ++) . (" to " ++) . (show (startpos+len) ++) . ("\t" ++) . (show (B.take len $ B.drop startpos input) ++) . ("\t" ++) $ show len  isDNASymbol    :: Word8 -> Bool isDNASymbol w  =  w2c w `elem` "ACTGactg"