Hi Erik,

On Fri, Aug 13, 2010 at 1:32 PM, Erik de Castro Lopo
<mle...@mega-nerd.com<mle%2...@mega-nerd.com>
> wrote:

> Since the files are large I'm using ByteString, but that leads me
> to wonder what is the best way to handle clashes between Prelude
> functions like putStrLn and the ByteString versions?
>
> Anyone have any suggestions for doing this as neatly as possible?
>

Use qualified imports, like so:

import qualified Data.ByteString as B

main = B.putStrLn $ B.pack "test"

Cheers,
Johan
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to