
17 Sep
2007
17 Sep
'07
2:58 p.m.
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>