On Wed, Jul 24, 2013 at 7:47 AM, Kim-Ee Yeoh <ky3@atamo.com> wrote:
Try:  [(a,b) | a <- f xs | b <- g xs]

Oops, that'll only work if you define g xs = [[]], not []. So yes, you've basically got a zip.

-- Kim-Ee