Commits

FlorianHartwig committed 45c8a87

Specify version of base library to make hackage happy

Comments (0)

Files changed (2)

AttoBencode.cabal

 
   Build-depends:
     attoparsec,
-    base,
+    base == 4.*,
     blaze-builder,
     blaze-textual,
     bytestring,
   Hs-source-dirs: tests
   Main-is:        qc.hs
   Build-depends:  AttoBencode,
-                  base,
+                  base == 4.*, 
                   bytestring,
                   containers,
                   test-framework,

src/Data/AttoBencode/Parser.hs

 bsParser :: Parser B.ByteString
 bsParser =
  do l <- decimal
-    _ <-char ':'
+    _ <- char ':'
     take l
 {-# INLINE bsParser #-}