On Wednesday 15 October 2003 11:07 am, Graham Klyne wrote:
> I've constructed a "listProduct" function that I think I've seen somewhere
> else... is it a standard function?  If so, where is it defined?

Yes.  It's called "sequence".  It's defined in the prelude.
It works with arbitrary monads, not just lists.

I think that's pretty cool.  8-)

Matt Harden

_______________________________________________
Haskell-Cafe mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to