
4 Nov
2009
4 Nov
'09
9:37 a.m.
On Nov 4, 2009, at 3:21 PM, Twan van Laarhoven wrote:
I looked on hackage but I was surprised that I couldn't find this simple monad. The package level-monad does look very similar, only it uses a different list type for the representation.
indeed, level-monad works as well: import Control.Monad.Levels import Data.FMList (fromList) diagN = bfs . mapM fromList -- Sjoerd Visscher sjoerd@w3future.com