let non_informative,ugraph =
if cl_len = 0 then true,ugraph
else
- is_non_informative ~logger [Some (C.Name name,C.Decl ty)]
- paramsno (snd (List.nth cl 0)) ugraph
+ let b, ug =
+ is_non_informative ~logger [Some (C.Name name,C.Decl ty)]
+ paramsno (snd (List.nth cl 0)) ugraph
+ in
+ b &&
+ does_not_occur [Some (C.Name name,C.Decl ty)] 0 1
+ (debrujin_constructor uri 1 [] (snd (List.nth cl 0))), ug
in
(* is it a singleton or empty non recursive and non informative
definition? *)
- non_informative &&
- does_not_occur [Some (C.Name name,C.Decl ty)] 0 1
- (debrujin_constructor uri 1 [] (snd (List.nth cl 0))), ugraph
+ non_informative, ugraph
else
false,ugraph
| _ ->