j
k
j a
j l
On Wed, Jul 24, 2013 at 7:47 AM, Kim-Ee Yeoh 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
Attachments:
Back to the thread
Back to the list