7.1.09

 

Well-typed programs can't be blamed

Philip Wadler and Robert Bruce Findler, ESOP 2009, LNCS to appear.

We introduce the blame calculus, which adds the notion of blame from Findler and Felleisen's contracts to a system similar to Siek and Taha's gradual types and Flanagan's hybrid types. We characterise where positive and negative blame can arise by decomposing the usual notion of subtype into positive and negative subtyping, and show that these recombine to yield naive subtyping. Naive typing has previously appeared in type systems that are unsound, but we believe this is the first time naive subtyping has played a role in establishing type soundness.

Comments: Post a Comment

<< Home

This page is powered by Blogger. Isn't yours?