X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fcomponents%2Facic_content%2FtermAcicContent.ml;h=81d0ef0a74f12211cb7a8e74ba7fd504fbf5311e;hb=c83721701dbbd44d3d547fdec6c4a5658322f424;hp=0af74d261701e01a0918040451dc5599e61f19b1;hpb=c3fc204cc02f1031b5d17fb0f2be1fc01e5c452f;p=helm.git diff --git a/helm/software/components/acic_content/termAcicContent.ml b/helm/software/components/acic_content/termAcicContent.ml index 0af74d261..81d0ef0a7 100644 --- a/helm/software/components/acic_content/termAcicContent.ml +++ b/helm/software/components/acic_content/termAcicContent.ml @@ -154,11 +154,11 @@ let ast_of_acic0 ~output_type term_info acic k = try HExtlib.split_nth (cpos+sats+1) tl with Failure _ -> [],[] in if rest = [] then - idref aid (List.nth (List.map k tl) cpos) + idref aid (k (List.nth tl cpos)) else idref aid (Ast.Appl (List.map k (List.nth tl cpos::rest))) else - idref aid (Ast.Appl (List.map k tl)) + idref aid (Ast.Appl (List.map k args)) else idref aid (Ast.Appl (List.map k args))) | Cic.AAppl (aid,args) ->