Design and implementation of a reusable type inference engine and its application to Scheme by Brian J. Dorn Abstract Static type checking allows programmers to locate potential bugs prior to code execution. However, developing a static type checker is a complicated endeavor. Implementers must address a number of concerns including recursion over syntax elements, unification of type variables within environments, and generation of meaningful error messages for users. The inherent complexity of type checkers can lead to code that is difficult to both understand and maintain. This thesis presents the design and implementation of an abstract type inference engine and its use in the revision of a student-oriented type checker for the Scheme programming language. Our inference engine provides a complete set of unification facilities to programmers for the specification of a type checking system. It allows for a clean separation of unification algorithms, inference rules, and error generation. We also demonstrate the applicability of the engine by using it to construct a type checker for Scheme targeted at novice programmers. This checker borrows a student-friendly type notation from a previous version and extends its system, providing for language native module support, a more complete treatment of advanced data types, and better error messages. Keywords: type inference, Scheme language, Typedscm language. 2005 CR Categories: D.2.13 [Software Engineering] Resuable Software -- reusable libraries; D.3.2 [Programming Languages] Language Classifications -- applicative (functional) languages, Scheme; D.3.3 [Pro- gramming Languages] Language Constructs and Features -- abstract data types, data types and structures; D.3.4 [Programming Languages] Processors -- preprocessors; F.3.3 [Logics and Meanings of Programs] Studies of Program Constructs -- type structure.