[Haskell-cafe] How to make such code?

Magicloud Magiclouds magicloud.magiclouds at gmail.com
Thu Dec 30 04:14:15 CET 2010


Hi,
  In Haskell's way, normally, we write:
if condition then
  expression_true
else
  expression_false

  But I just heard that, in fancy way, we could do:
do
  ifNeedToDo >> doIt
  bluh

  May I have any clue here?
-- 
竹密岂妨流水过
山高哪阻野云飞



More information about the Haskell-Cafe mailing list