ct-gradual-typing / Papers

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

Questions for 10/17 meeting #12

Closed michaelto20 closed 8 years ago

michaelto20 commented 8 years ago
  1. In draft file, should box accept a parameter in the term definition. It seems to in the syntax rules (box t : ?).
  2. Does subscript T in the draft file mean that the function takes a parameter of type T?
  3. In the code: typeCheck_aux (Pair t1 t2) = do r1 <- typeCheck_aux t1 r2 <- typeCheck_aux t2 Why are r1 and r2 (Maybe Type) and not Types when typeCheck_aux :: Term -> TCM Type?