]> matita.cs.unibo.it Git - helm.git/commit
Coercions rework:
authorEnrico Tassi <enrico.tassi@inria.fr>
Thu, 30 Aug 2007 13:24:13 +0000 (13:24 +0000)
committerEnrico Tassi <enrico.tassi@inria.fr>
Thu, 30 Aug 2007 13:24:13 +0000 (13:24 +0000)
commit3a0c7d14897577f31da1df7bd95541b473abeb3c
treeb189264b9e0837599c8d1b20b2bc00df1f1afa54
parentdfdcf89229ed6c5c21958205ed2fff9c29d11803
Coercions rework:
- new functions:
  - coerce_to_sort
  - coerce_to_something
  - coerce_atom_to_something
- added call in Cast
- coerce_to_something goes under lambdas in both
  variant and contravarian positions, to if there are
  c1: B -> B1 and c2:A1 -> C coercions, you can cast a function
  f: A -> B to A1 -> B1.
components/cic_unification/cicRefine.ml