packages feed

imap 0.2.0.2 → 0.2.0.3

raw patch · 2 files changed

+19/−2 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

imap.cabal view
@@ -2,7 +2,7 @@ -- see http://haskell.org/cabal/users-guide/  name:                imap-version:             0.2.0.2+version:             0.2.0.3 synopsis:            An efficient IMAP client library, with SSL and streaming license:             BSD3 license-file:        LICENSE
src/Network/IMAP/Parsers/Utils.hs view
@@ -80,7 +80,24 @@   return $ ListR nameAttributes delimiter actualName  isAtomChar :: Word8 -> Bool-isAtomChar c = isLetter c || isNumber c || c == _hyphen || c == _quotedbl || c == _period+isAtomChar c = isLetter c +            || isNumber c +            || c == _hyphen +            || c == _quotedbl +            || c == _period +            || c == _plus +            || c == _dollar+            || c == _ampersand+            || c == _quotesingle+            || c == _comma+            || c == _hyphen+            || c == _period+            || c == _slash+            || (c >= 0x3a && c <= 0x3c)+            || (c >= 0x3e && c <= 0x40)+            || c == _backslash+            || (c >= 0x5e && c <= 0x60)+            || c == _tilde  toInt :: BSC.ByteString -> Either ErrorMessage Int toInt bs = if null parsed