ct-gradual-typing / Papers

The Combination of Dynamic and Static Typing from a Categorical Perspective
10 stars 0 forks source link

Error Evaluation Rules #10

Closed heades closed 7 years ago

heades commented 8 years ago

Need to think more about the error cases in the evaluation.

If the argument to unbox is in head-normal form, and not a box, then throw an error.

If the argument to unbox is a box t, but t doesn't have the right type, then through an error.