Drafts of code and markdown.

This commit is contained in:
2019-08-26 00:13:10 -07:00
parent 131102ad66
commit f29bc68422
9 changed files with 210 additions and 10 deletions

View File

@@ -70,7 +70,7 @@ void type_mgr::unify(type_ptr l, type_ptr r) {
throw 0;
}
void type_mgr::bind(std::string s, type_ptr t) {
void type_mgr::bind(const std::string& s, type_ptr t) {
type_var* other = dynamic_cast<type_var*>(t.get());
if(other && other->name == s) return;