(* $Id: orderings.ml 9869 2009-06-11 22:52:38Z denes $ *)
+
+module B(C : NCicBlob.NCicContext): Orderings.Blob
+ with type t = NCic.term and type input = NCic.term
+ = Orderings.LPO(NCicBlob.NCicBlob(C))
+
+module NCicParamod(C : NCicBlob.NCicContext) = Paramod.Paramod(B(C))
+
let nparamod rdb metasenv subst context t table =
- let module C =
- struct
+ let module C =
+ struct
let metasenv = metasenv
let subst = subst
- let context = context
- end
- in
- let module B : Orderings.Blob
- with type t = NCic.term and type input = NCic.term
- = Orderings.LPO(NCicBlob.NCicBlob(C))
+ let context = context
+ end
in
- let module P = Paramod.Paramod(B) in
+ let module B = B(C) in
+ let module P = NCicParamod(C) in
let module Pp = Pp.Pp(B) in
let bag, maxvar = Terms.empty_bag, 0 in
let (bag,maxvar), goals =