Compare commits

..

No commits in common. "902ffc0bc0fa4147d95474e5bb5345a3fc40de01" and "fd77fe078aff4d3d526fd62e176d4422307aca5b" have entirely different histories.

3 changed files with 1 additions and 3 deletions

View File

@ -1,7 +1,6 @@
#pragma once
#include <memory>
#include <map>
#include <string>
#include <vector>
#include <set>

View File

@ -1,6 +1,5 @@
#pragma once
#include <map>
#include <string>
#include "type.hpp"
struct type_env;

View File

@ -103,4 +103,4 @@ In effect, they take zero arguments and produce types (themselves).
3. A function from one type to another, like \\(\\text{List} \\; a \\rightarrow \\text{Int}\\).
Polytypes (type schemes) in our system can be all of the above, but may also include a "forall"
quantifier at the front, generalizing the type (like \\(\\forall a \\; . \\; \\text{List} \\; a \\rightarrow \\text{Int}\\)).
quantifier at the front, generalizing the type (like \\(\\forall a \; . \; \\text{List} \; a \\rightarrow \\text{Int}\\)).