[Haskell-cafe] Practical Haskell question.

Bulat Ziganshin bulat.ziganshin at gmail.com
Mon Jun 25 09:44:45 EDT 2007


Hello Michael,

Monday, June 25, 2007, 2:10:28 PM, you wrote:
> Does this make more sense now?  And can it be done somehow in Haskell?

runCheckedCode = checkBeforeRun [actionA x y, actionB z t, actionC]

actionA x y b | b         = -- check conditions
              | otherwise = -- perform action

-- 
Best regards,
 Bulat                            mailto:Bulat.Ziganshin at gmail.com



More information about the Haskell-Cafe mailing list