set_eq : ''a list -> ''a list -> bool
- set_eq [1,2,1] [1,2,2,1]; > val it = true : bool - set_eq [1,2,1] [2,1]; > val it = true : bool
ML equality types are used in the implementation of set_eq and its kin. This limits its applicability to types that allow equality. For other types, typically abstract ones, use the ‘op_’ variants.