I have a fairly large code base of untyped ฮป-terms. I think it might be fun to try this code base for Calculus of Constructions, but I would not want to implement everything from scratch. Instead, I would like the type system to accept my untyped terms. I would gradually add type annotations in a progressive manner.
My idea is to extend CoC with an โunknownโ type annotation ?that will always be checked, but I'm not sure if this will work. Is there any known, principled way to do this?
source
share