X-Git-Url: http://git.nguyen.vg/gitweb/?a=blobdiff_plain;f=ptset.ml;h=673523c6db0d39898df0c69437560f05fb1a86b0;hb=83aa6cf8a120ea6681402ce42ae56631fca1ddf4;hp=091d4a841ede7c0c8ddee7f76f3fc90c040f2422;hpb=5b4679e20761058f1e04c123da52631c0dd265cc;p=SXSI%2Fxpathcomp.git diff --git a/ptset.ml b/ptset.ml index 091d4a8..673523c 100644 --- a/ptset.ml +++ b/ptset.ml @@ -58,7 +58,7 @@ let empty = { id = gen_uid (); let _ = WH.add pool empty -let is_empty = function { id = 0 } -> true | _ -> false +let is_empty s = s.id==0 let rec norm n = let v = { id = gen_uid ();