- ppterm ~metasenv ~subst ~context:[] ~inside_fix:true bo) :: l),i-1) fl
- ([],List.length fl)))
- | (u,_,_,_,NCic.Inductive (b, _,tyl, _)) -> "inductive"
+ ppterm ~metasenv ~subst ~context:[] ~inside_fix:true bo) fl)
+ | (u,_,metasenv,subst,NCic.Inductive (b, leftno,tyl, _)) ->
+ "{"^NUri.string_of_uri u^"} with "^string_of_int leftno^" fixed params\n"^
+ (if b then "inductive " else "coinductive ")^
+ String.concat "\nand "
+ (List.map (fun (_,name,ty,cl) ->
+ name^": "^ppterm ~metasenv ~subst ~context:[] ty^ " :=\n"^
+ String.concat "\n"
+ (List.map (fun (_,name,ty) ->
+ " | "^name^": "^ppterm ~metasenv ~subst ~context:[] ty)
+ cl)) tyl) ^ "."