LightAndLight / ipso

A functional scripting language.
https://ipso.dev
17 stars 1 forks source link

Replace metas with named type variables in REPL #181

Open LightAndLight opened 2 years ago

LightAndLight commented 2 years ago

When :type returns a type containing metavariables, they appear in the printed output.

e.g.

> :type \x y -> x
?0 -> ?1 -> ?0

in Repl::type_of, rename the replace the metavariables with type variables. The above example should return something like a -> b -> a.