]> 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)
commitf6bf40d380bdb66e1cb3315edebb3d276ba7a125
tree809401e400357f3eba72f4576a33035f6b5bec88
parente6c985d94df70748f132df23489ff3b60fd108a5
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.
helm/software/components/cic_unification/cicRefine.ml