On Sat, 15 Sep 2007, Sam Hughes wrote:
That's weird. Prelude> (x,y) <- return $ (repeat 1, repeat 2)
You didn't tell, which Monad this shall be.
Prelude> Just x <- return $ Just (repeat 1) [1,1,1,... Prelude> (x,_) <- return $ (repeat 1, repeat 2) [1,1,1,... Prelude> Just (x,y) <- return $ Just (repeat 1, repeat 2) Prelude>
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe