Andrea Rossato <[EMAIL PROTECTED]> writes: > I forgot, obviously, that lists are an instance of the Eq class... > so, this is enough:
> comp l1 l2 = if l1 == l2 then True else False Or why not: > comp l1 l2 = l1 == l2 Or simply: > comp = (==) :-) -k -- If I haven't seen further, it is by standing in the footprints of giants _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe