better error message for the ai command

This commit is contained in:
krasimir committed 2009-09-19 10:24:02 +00:00
1 parent e363c40058
commit 884747508e
2 files changed
+2 -5

No files matched your search

@@ -7,10 +7,7 @@ A function type is expected for the expression 1 instead of type Int
Couldn't match expected type Int -> Int␍
against inferred type Int␍
In the expression: 1␍
␍
␍
Function unknown_fun is not in scope␍
␍
unknown category of function identifier unknown_fun␍
␍
Category unknown_cat is not in scope␍
Cannot infer the type of expression \x -> x␍