Lab 11
9.3.900

Lab 11🔗

Develop the simple type checker we described in class. No interpreter, just the type-checker!

  • Define the ExprC type, including NumC, PlusC, MultC, LamC, AppC, and IdC

  • Define the Type type, including NumT and FunT

  • Define the TEnv type, for mapping names to types

  • Develop the type-check function, with type (ExprC TEnv -> Type)