[Haskell-cafe] Data.ByteString.Lazy.ByteString vs Data.ByteString.Lazy.Internal.ByteString
Don Stewart
dons at galois.com
Fri Feb 11 05:26:22 CET 2011
ckkashyap:
> Hi,
> I noticed that even though I declare the type of a function in my code as
> Data.ByteString.Lazy.ByteString ... when I check it out in ghci using :t,
> it shows this - Data.ByteString.Lazy.Internal.ByteString
> Is this expected?
Yep, the 'Internal' module is where the type is defined, and then
re-exported through the regular module.
All is well.
-- Don
More information about the Haskell-Cafe
mailing list