irc 0.4.1 → 0.4.2
raw patch · 2 files changed
+8/−7 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- Network/IRC/Base.hs +6/−6
- irc.cabal +2/−1
Network/IRC/Base.hs view
@@ -87,12 +87,12 @@ where showMaybe c e = maybe "" (c:) e showParameters :: [Parameter] -> String-showParameters [] = []-showParameters ps = " " ++ (unwords $ showp ps)- where showp [] = []- showp p@(x:xs) | ' ' `elem` x = [':' : unwords p]- | otherwise = x : showp xs-+showParameters [] = []+showParameters params = " " ++ (unwords $ showp params)+ where showp [p] | ' ' `elem` p || null p || head p == ':' = [':' : p]+ | otherwise = [p]+ showp (p:ps) = p : showp ps+ showp [] = [] -- --------------------------------------------------------- -- Message Translation
irc.cabal view
@@ -1,12 +1,13 @@ name: irc synopsis: A small library for parsing IRC messages. description: A set of combinators and types for parsing IRC messages.-version: 0.4.1+version: 0.4.2 category: Data license: BSD3 license-file: LICENSE author: Trevor Elliott maintainer: trevor@geekgateway.com+homepage: http://code.haskell.org/~elliottt/code/irc extra-source-files: tests/Makefile, tests/Tests.hs cabal-version: >= 1.2.0