Compare commits

...

2 Commits

Author SHA1 Message Date
902ffc0bc0 Add missing backslashes
Some checks failed
continuous-integration/drone/push Build is failing
2020-04-09 22:55:02 -07:00
8c1168d818 Add seemingly missing string includes. 2020-04-09 16:26:10 -07:00
3 changed files with 3 additions and 1 deletions

View File

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

View File

@ -1,5 +1,6 @@
#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}\\)).