[Haskell-cafe] Data.ByteString join

Duncan Coutts duncan.coutts at worc.ox.ac.uk
Sun Dec 28 11:47:41 EST 2008


On Sun, 2008-12-28 at 03:54 -0600, Galchin, Vasili wrote:
> Prelude> :m +Data.ByteString
> Prelude Data.ByteString> :t join
> 
> <interactive>:1:0: Not in scope: `join'
> Prelude Data.ByteString>
>
> Why no "join" function?

Because we removed it from the bytestring package in version 0.9. It had
been deprecated for some time in favour of intercalate.

So that's why the version of hugs you're using has it still but the more
recent version of ghci you're using does not.

Duncan



More information about the Haskell-Cafe mailing list