143
145
(* ----------------------------------------------------------------------- *)
144
146
(* distinguish between distinct witness trees, each gets an index n *)
149
163
(function acc -> function xs -> function n ->
150
164
(List.map (function x -> (n,x)) xs) @ acc)
155
169
let (same,diff) = List.partition (function (ns,xs) -> x = xs) res in