Robert Dockins wrote:
-divides a b = (mod a b == 0) +divides a b = (mod b a == 0)
Oh, thanks. My program assumed one way to define 'divides' and the example assumed the other.
When I wrote it I was thinking of (divides a) being a function that tells me if the input divides 'a'.
Thanks! Cheers, Daniel. -- /\/`) http://oooauthors.org /\/_/ http://opendocumentfellowship.org /\/_/ \/_/ I am not over-weight, I am under-tall. / _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe