3 Dec 08:46
Re: Data.ByteString vs Data.ByteString.Lazy vs Data.ByteString.Char8
Galchin, Vasili <vigalchin <at> gmail.com>
2008-12-03 07:46:29 GMT
2008-12-03 07:46:29 GMT
On Wed, Dec 3, 2008 at 1:32 AM, Ketil Malde <ketil <at> malde.org> wrote:
"Galchin, Vasili" <vigalchin <at> gmail.com> writes:You rarely need to import 'Internal' directly.
> I think I am getting a namespace collition between
>
> Data.ByteString.Lazy.Char8.ByteString
>
> and
>
> Data.ByteString.Lazy.Internal.ByteString ....
Are you sure this is not just a versioning problem? I.e. that some
> here is the error message ....
>
> Couldn't match expected type `B.ByteString'
> against inferred type
> `bytestring-0.9.0.1:Data.ByteString.Lazy.Internal.ByteString'
library is built against bytestring-0.X.Y, but your current import is
bytestring-0.A.B, but your program expects these to be the same? (And
they probably are, but the compiler can't really tell).
^^ oh great ;^) how can ascertain this situation?
- vasili
- vasili
-k
--
If I haven't seen further, it is by standing in the footprints of giants
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe <at> haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
RSS Feed