refactor PGF.Expr and PGF.TypeCheck so that the evaluator always has access to the meta store

This commit is contained in:
krasimir
2010-02-22 15:50:41 +00:00
parent 21ad608e2a
commit 09da1013f9
5 changed files with 104 additions and 99 deletions
@@ -13,7 +13,7 @@ Category unknown_cat is not in scope
Cannot infer the type of expression \x -> x␍
A function type is expected for the expression \x -> x instead of type Int␍
Expression: append (succ (succ zero)) (succ zero) (vector (succ (succ zero))) (vector (succ zero))␍
Type: Vector (plus (succ (succ zero)) (succ zero))␍
Type: Vector (succ (succ (succ zero)))␍
Expression: <\m, n -> vector (plus m n) : (m : Nat) -> (n : Nat) -> Vector (plus m n)>␍
Type: (m : Nat) -> (n : Nat) -> Vector (plus m n)␍