evincarofautumn / kitten

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

Fix order of REPL stack types given to inference #91

Closed strager closed 10 years ago

strager commented 10 years ago

The REPL stack is right-to-left, but type inference expected stack types left-to-right. A [Type Scalar] named 'stack' or 'stackTypes' would be understood as right-to-left, so this change makes the type a Vector (Type Scalar) (meaning left-to-right) instead.