diag [[1,2,3],[4],[5,6,7]]
What it should be?

*Main> diag [[1,2,3],[4],[5,6,7]]
[1,2,4,3,5,6,7]

it's basically just "skipping holes":

1 2 3
4
5 6 7
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to