
1 Oct
2008
1 Oct
'08
9:48 p.m.
Op woensdag 01-10-2008 om 10:15 uur [tijdzone +0200], schreef Ketil Malde:
Derek Elkins
writes: parseCSVFromFile "in.csv" >>= return . either (const "error!")
Whenever you see this >>= return . f pattern think liftM or fmap or <$>.
...and "return . f >>= action" is just "action . f", no?
Maybe you meant "return f >>= action" is the same as "action f". Greetings. -- marcot Página: http://marcotmarcot.iaaeee.org/ Blog: http://marcotmarcot.blogspot.com/ Correio: marcot@riseup.net XMPP: marcot@jabber.org IRC: marcot@irc.freenode.net Telefone: 25151920 Celular: 98116720 Endereço: Rua Turfa, 639/701 Prado 30410-370 Belo Horizonte/MG Brasil