Hi Max,
That is what should happen .... The inner B.intercalate will produce
the ByteString to be used by the B.intercalate. ??
Vasili
On Mon, Jan 5, 2009 at 12:13 PM, Max Rabkin <[email protected]> wrote:
> 2009/1/5 Galchin, Vasili <[email protected]>:
> > Hello,
> >
> > I have the following:
> >
> > B.intercalate $ B.intercalate
> > ByteString
> > [ByteString]
> > [ByteString]
> >
> > I get a type error with this. If I comment out the 2nd
> B.intercalate
> > and the third parameter I get no type errors.
>
> B.intercalate needs a ByteString and a list of ByteStrings. Two
> B.intercalates need two ByteStrings and two lists of ByteStrings.
>
> --Max
>
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe