
20 Sep
2006
20 Sep
'06
9:24 a.m.
Andrea Rossato
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