Errors in hand-out for HE2
It seems that I uploaded an older version of the hand-out to HE 2.
Specifically
delta in the Program record in Syntax.hs is wrong and should be
delta :: C -> Maybe (D, [X], [Type]) -- Lookup the type of a constructor
In Typechecker.hs the type signature of checkTerm should be Type and not ()
checkTerm :: Term -> Analysis Type
Published May 4, 2026 3:25 PM
- Last modified May 4, 2026 3:25 PM