[Haskell-cafe] Tracing a list comprehension

Philippe de Rochambeau phiroc at free.fr
Thu Jan 18 17:00:53 EST 2007


Hello,

is there a way to trace a list comprehension such as

concat1 :: [[a]] -> [a]
concat1 xss = [ x | xs <- xss, x <- xs ]

I would like to see what gets stored in xs.

Cheers,

phiroc



More information about the Haskell-Cafe mailing list