[Haskell-cafe] Re: if - then - else layout
Achim Schneider
barsoap at web.de
Thu Sep 25 05:20:58 EDT 2008
Achim Schneider <barsoap at web.de> wrote:
> if i knew how to do it
Sorry, apparent mistake, besides confusing b (bool) with p (predicate):
if p _ c = do
(_, _, a) <- get
put (p, c, a)
mzero
--
(c) this sig last receiving data processing entity. Inspect headers
for copyright history. All rights reserved. Copying, hiring, renting,
performance and/or broadcasting of this signature prohibited.
More information about the Haskell-Cafe
mailing list