evincarofautumn / kitten

A statically typed concatenative systems programming language.
http://kittenlang.org/
Other
1.09k stars 39 forks source link

Use NameGen for name generation in type inferer #85

Closed strager closed 10 years ago

strager commented 10 years ago

This prevents type variables from being duplicated in subsequent executions of the type inference engine.

(At the moment, every line given to the REPL will reinfer the prelude. In another patch, that will not be the case, and the prelude will be typechecked once.)

evincarofautumn commented 10 years ago

Subsumed by #87.