Extensible Haskell front-end for the Programatica project

What is in this directory (base/TI)

This directory contains a type checker for the base language (i.e., more or less Haskell 98). It is structured to allow large parts to be reusable in extended versions of the language.

At present, the type inference monad is fixed, and the AST for inferred types is fixed, but it might be possible to factor out these aspects too.

Although various details differ, this type checker is influenced by

Modules for the basic type inference machinery

Instances and context reduction

Type inference for the base language structure

These should be reusable in extended versions of the language.

Knot-tying definitions for the base language

Type inference for sequences of declarations

Interfaces to other pieces of reusable code

Other modules