X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fcomponents%2Flibrary%2FcoercDb.ml;h=b7e3902296fc986edbffe93a7f5a161542c33e62;hb=4693f3b9de6d867921b51f61e9a7dc36c3da1b77;hp=c8be370f222e3cffc5f47caaecd8aef9d4875aaf;hpb=84e6cbe962c9a534be48542c098d7bb0d90be9a1;p=helm.git diff --git a/helm/software/components/library/coercDb.ml b/helm/software/components/library/coercDb.ml index c8be370f2..b7e390229 100644 --- a/helm/software/components/library/coercDb.ml +++ b/helm/software/components/library/coercDb.ml @@ -85,8 +85,8 @@ let eq_carr ?(exact=false) src tgt = | _, _ -> false ;; -let to_list () = - List.map (fun (s,t,l) -> s,t,List.map (fun a,_,b,c -> a,b,c) l) !db +let to_list db = + List.map (fun (s,t,l) -> s,t,List.map (fun a,_,b,c -> a,b,c) l) db ;; let rec myfilter p = function