yep ... that is exactly what I meant!! so can I use more $'s or must I use parens (as you did) to disambiguate?<br><br>Vasili<br><br><div class="gmail_quote">On Mon, Jan 5, 2009 at 12:18 PM, Ross Mellgren <span dir="ltr"><<a href="mailto:rmm-haskell@z.odi.ac">rmm-haskell@z.odi.ac</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div style="">Did you mean:<div class="Ih2E3d"><div><br></div><div>B.intercalate (B.intercalate ByteString [ByteString]) [ByteString]</div>
<div><br></div></div><div>($) applies all the way to the right, so you were giving the inner intercalate two lists of ByteString.</div><div><br></div><div>-Ross</div><div><br></div><div><br></div><div><div><div></div><div class="Wj3C7c">
<div>On Jan 5, 2009, at 1:17 PM, Galchin, Vasili wrote:</div><br></div></div><blockquote type="cite"><div><div></div><div class="Wj3C7c">Hi Max,<br><br> That is what should happen .... The inner B.intercalate will produce the ByteString to be used by the B.intercalate. ??<br>
<br>Vasili<br><br><div class="gmail_quote">On Mon, Jan 5, 2009 at 12:13 PM, Max Rabkin <span dir="ltr"><<a href="mailto:max.rabkin@gmail.com" target="_blank">max.rabkin@gmail.com</a>></span> wrote:<br> <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
2009/1/5 Galchin, Vasili <<a href="mailto:vigalchin@gmail.com" target="_blank">vigalchin@gmail.com</a>>:<br> <div><div></div><div>> Hello,<br> ><br> > I have the following:<br> ><br> > B.intercalate $ B.intercalate<br>
> ByteString<br> > [ByteString]<br> > [ByteString]<br> ><br> > I get a type error with this. If I comment out the 2nd B.intercalate<br> > and the third parameter I get no type errors.<br>
<br> </div></div>B.intercalate needs a ByteString and a list of ByteStrings. Two<br> B.intercalates need two ByteStrings and two lists of ByteStrings.<br> <font color="#888888"><br> --Max<br> </font></blockquote></div><br>
</div></div> _______________________________________________<br>Haskell-Cafe mailing list<br><a href="mailto:Haskell-Cafe@haskell.org" target="_blank">Haskell-Cafe@haskell.org</a><br><a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br>
</blockquote></div><br></div></blockquote></div><br>