[Haskell-cafe] Re: Fair diagonals

Louis Wasserman wasserman.louis at gmail.com
Tue Nov 3 21:49:00 EST 2009

+1 on Control.Monad.Omega.  In point of fact, your diagN function is simply

diagN = runOmega . mapM Omega

You'll find it an interesting exercise to grok the source of
Control.Monad.Omega, obviously, but essentially, you're replacing concatMap
with a fair (diagonal) traversal order version.

Louis Wasserman
wasserman.louis at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20091103/8c3cac37/attachment.html

More information about the Haskell-Cafe mailing list