f a b | c > 1 = ... | c < 1 = ... | otherwise = ... where c = a+b
yet I'm getting a parsing error. Is this not the correct way to combine "where" with "guards"?
-Eitan _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe