Media Summary: The `unify` function will replace any use of `==` in the type checker, and it needs a `resolve` helper function. Representing type variables in our new, inferencing type checker. _Unification_ is the algorithm for assigning types to type variables. The `unify` function will need to implement this algorithm.

Shplait Inference 11 Reporting Errors - Detailed Analysis & Overview

The `unify` function will replace any use of `==` in the type checker, and it needs a `resolve` helper function. Representing type variables in our new, inferencing type checker. _Unification_ is the algorithm for assigning types to type variables. The `unify` function will need to implement this algorithm. Local bindings via `let` can be implemented by making Moe's `parse` convert it into an immediately applied `fun` form.

Photo Gallery

Shplait Inference 11 - reporting errors
Plait Inference 11 - reporting errors
Shplait Inference 1 - introduction
Shplait Inference 5 - unify and resolve
Shplait Inference 4 - occurs check
Shplait Inference 2 - type inference
Shplait Inference 6 - representing type variables
Shplait Inference 8 - unification
Shplait Inference 9 - unify
Shplait Inference 7 - unify examples
Shplait control 1 - errors
Lecture 11: Error Handling Persistence
View Detailed Profile
Shplait Inference 11 - reporting errors

Shplait Inference 11 - reporting errors

Type

Plait Inference 11 - reporting errors

Plait Inference 11 - reporting errors

Type

Shplait Inference 1 - introduction

Shplait Inference 1 - introduction

Introduction to type

Shplait Inference 5 - unify and resolve

Shplait Inference 5 - unify and resolve

The `unify` function will replace any use of `==` in the type checker, and it needs a `resolve` helper function.

Shplait Inference 4 - occurs check

Shplait Inference 4 - occurs check

Type

Shplait Inference 2 - type inference

Shplait Inference 2 - type inference

Basic type

Shplait Inference 6 - representing type variables

Shplait Inference 6 - representing type variables

Representing type variables in our new, inferencing type checker.

Shplait Inference 8 - unification

Shplait Inference 8 - unification

_Unification_ is the algorithm for assigning types to type variables. The `unify` function will need to implement this algorithm.

Shplait Inference 9 - unify

Shplait Inference 9 - unify

Implementing `unify`.

Shplait Inference 7 - unify examples

Shplait Inference 7 - unify examples

Examples for the `unify` function.

Shplait control 1 - errors

Shplait control 1 - errors

Implementing

Lecture 11: Error Handling Persistence

Lecture 11: Error Handling Persistence

Lecture

Shplait Encoding 1 - let as fun

Shplait Encoding 1 - let as fun

Local bindings via `let` can be implemented by making Moe's `parse` convert it into an immediately applied `fun` form.