"listProduct" -- is this a standard function?
matth at mindspring.com
Wed Oct 15 23:04:42 EDT 2003
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-)
More information about the Haskell-Cafe