How to compare two lists?

Dariab Wahed <>
Mon May 27 17:03:10 CEST 2002


Hi!
Can you help me,

How to compare two lists?
eg.

my_func(List1,List2)
if
    List1 == List2 -> ok;
    List1/= List2 -> {error,"error!!!!"};
end.





More information about the erlang-questions mailing list