
Hello, http://cvs.haskell.org/Hugs/pages/libraries/base/Data-ByteString.html but vigalchin@ubuntu:~$ ghci GHCi, version 6.8.2: http://www.haskell.org/ghc/ :? for help Loading package base ... linking ... done. Prelude> :m +Data.ByteString Prelude Data.ByteString> :t join <interactive>:1:0: Not in scope: `join' Prelude Data.ByteString> Why no "join" function? Regards, Vasili

It might be because you're looking at Hugs docs while using GHC. Galchin, Vasili wrote:
Hello,
http://cvs.haskell.org/Hugs/pages/libraries/base/Data-ByteString.html
but
vigalchin@ubuntu:~$ ghci GHCi, version 6.8.2: http://www.haskell.org/ghc/ :? for help Loading package base ... linking ... done. Prelude> :m +Data.ByteString Prelude Data.ByteString> :t join
<interactive>:1:0: Not in scope: `join' Prelude Data.ByteString>
Why no "join" function?
Regards, Vasili
------------------------------------------------------------------------
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

no Martijn ... I am using "ghci" ... not Hugs .... On Sun, Dec 28, 2008 at 4:02 AM, Martijn van Steenbergen < martijn@van.steenbergen.nl> wrote:
It might be because you're looking at Hugs docs while using GHC.
Galchin, Vasili wrote:
Hello,
http://cvs.haskell.org/Hugs/pages/libraries/base/Data-ByteString.html
but
vigalchin@ubuntu:~$ ghci GHCi, version 6.8.2: http://www.haskell.org/ghc/ :? for help Loading package base ... linking ... done. Prelude> :m +Data.ByteString Prelude Data.ByteString> :t join
<interactive>:1:0: Not in scope: `join' Prelude Data.ByteString>
Why no "join" function?
Regards, Vasili
------------------------------------------------------------------------
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

On 2008 Dec 28, at 5:59, Galchin, Vasili wrote:
no Martijn ... I am using "ghci" ... not Hugs ....
On Sun, Dec 28, 2008 at 4:02 AM, Martijn van Steenbergen
wrote: It might be because you're looking at Hugs docs while using GHC.
Galchin, Vasili wrote:
http://cvs.haskell.org/Hugs/pages/libraries/base/Data-ByteString.html
Right, but the documentation you're using is from Hugs. Use the GHC library documentation instead. -- brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery@kf8nh.com system administrator [openafs,heimdal,too many hats] allbery@ece.cmu.edu electrical and computer engineering, carnegie mellon university KF8NH

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

Thank Duncan, Martijn, Bulat and Brandon!
Vasili
On Sun, Dec 28, 2008 at 10:47 AM, Duncan Coutts wrote: 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
participants (4)
-
Brandon S. Allbery KF8NH
-
Duncan Coutts
-
Galchin, Vasili
-
Martijn van Steenbergen