Duncan
Would you consider applying this patch to package 'bytestring' please? It just adds a type signature, which makes the code clearer and is helpful for the new type inference engine. If that's acceptable, could you let us know when done so we can suck them down to the GHC repo? Many thanks Simon Tue Aug 10 15:58:10 BST 2010 simo...@microsoft.com * Add type signatures { hunk ./Data/ByteString.hs 1766 + fill, haveBuf :: Handle__ -> Buffer Word8 -> Int + -> [ByteString] -> IO ByteString hunk ./Data/ByteString/Char8.hs 267 -import GHC.Prim (Addr#,writeWord8OffAddr#,plusAddr#) +import GHC.Prim (Addr#,Word#,writeWord8OffAddr#,plusAddr#) hunk ./Data/ByteString/Char8.hs 309 - go :: Addr# -> [Char] -> ST a () + go :: Addr# -> [Char] -> ST s () hunk ./Data/ByteString/Char8.hs 313 + writeByte :: Addr# -> Word# -> ST s () }
bytestring-patch
Description: bytestring-patch
_______________________________________________ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc