2008/12/27 Brandon S. Allbery KF8NH <allb...@ece.cmu.edu> > On 2008 Dec 27, at 12:42, Galchin, Vasili wrote: > > Not in scope: `Data.ByteString.join' > > > Why are you trying to use join? It's not a string function; it's a > function on lists which accidentally does something useful on normal Strings > because they're implemented as lists. ByteStrings aren't lists, so there is > no useful join, and ghc finds an instantiation of join somewhere else and > does something unexpected as a result. >
It looks like in the docs he is looking at<http://cvs.haskell.org/Hugs/pages/libraries/base/Data-ByteString.html#v%3Ajoin>, join is the name of intercalate. Use intercalate. Luke
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe