CPSC 429/529: Functional Programming

 

Instructor: Carsten Schürmann
Department of Computer Science
Yale University
Time: MWF 9:30-10:20
Room: AKW400

  Home
  Schedule
  Handouts
  Assignments
  Projects
  Links
 
 

Lecture 12: Type preservation.

After formally specifying Mini-Haskell, we can be be investigate its properties. In this lecture we look at the operational semantics of Mini-Haskell and notice that it is type preserving. This means that evaluating a well-typed program will result in a well-typed value.

The result does not follow directly. We will prove a weakening lemma and define a typing discipline for environments.

Further Reading:

Carsten Schürmann. Inside Haskell. Lecture Notes.

Previous lecture: Lecture 11
Next lecture: Lecture 13