packages feed

palindromes 0.3.1 → 0.3.2

raw patch · 4 files changed

+10/−4 lines, 4 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

RELEASE_HISTORY view
@@ -1,6 +1,12 @@ Release history:  --------+08072012 Version 0.3.2+--------+Only maximal palindromes are shown by the maximalEvenPalindromesLengthBetweenDNA+function.++-------- 03072012 Version 0.3.1 -------- Also showing length in DNA palindromes.
palindromes.cabal view
@@ -1,5 +1,5 @@ name:                   palindromes-version:                0.3.1+version:                0.3.2 synopsis:               Finding palindromes in strings homepage:               http://www.jeuring.net/homepage/palindromes/index.html description:
src/Data/Algorithms/Palindromes/Options.hs view
@@ -258,6 +258,6 @@ headerHelpMessage =       "*********************\n"   ++ "* Palindrome Finder *\n"-  ++ "* version 0.3.1     *\n"+  ++ "* version 0.3.2     *\n"   ++ "*********************\n"   ++ "Usage:"
src/Data/Algorithms/Palindromes/PalindromesDNA.hs view
@@ -71,8 +71,8 @@ maximalEvenPalindromesLengthBetweenDNA          :: Int -> Int -> B.ByteString -> String maximalEvenPalindromesLengthBetweenDNA m n input  =      intercalate "\n" -  $ map (showPalindromeDNA input . \(pl,pc) -> (min pl n,pc)) -  $ filter (\(pl,_) -> m <= pl)+  $ map (showPalindromeDNA input) +  $ filter (\(pl,_) -> m <= pl && pl <= n)   $ zip (evenDNAPalindromesAroundCentres input) [0..]  -----------------------------------------------------------------------------