op_set_diff : ('a -> 'a -> bool) -> 'a list -> 'a list -> 'a list
- op_set_diff (fn x => fn y => x mod 2 = y mod 2) [1,2,3] [4,5,6]; > val it = [] : int list - op_set_diff (fn x => fn y => x mod 2 = y mod 2) [1,2,3] [2,4,6,8]; > val it = [1, 3] : int list
A high-performance implementation of finite sets may be found in structure HOLset.