add args to error

svn: r12036
This commit is contained in:
Sam Tobin-Hochstadt 2008-10-14 16:34:14 +00:00
parent c8dce8dccd
commit e802682c4d

View File

@ -406,7 +406,7 @@
[else (build 'primitive e)])) [else (build 'primitive e)]))
(define: (initial-table [name : atom]) : atom (define: (initial-table [name : atom]) : atom
(error)) (error 'fail))
(define: (*identifier [e : atom] [tbl : table]) : SExp (define: (*identifier [e : atom] [tbl : table]) : SExp
(lookup-in-table e tbl initial-table)) (lookup-in-table e tbl initial-table))
@ -420,10 +420,10 @@
[(#t #f cons car cdr null? eq? atom? zero? add1 sub1 number?) *const] [(#t #f cons car cdr null? eq? atom? zero? add1 sub1 number?) *const]
[else *identifier])])) [else *identifier])]))
(define: (*quote [a : atom] [t : table]) : SExp (error)) (define: (*quote [a : atom] [t : table]) : SExp (error 'fail))
(define: (*lambda [a : atom] [t : table]) : SExp (error)) (define: (*lambda [a : atom] [t : table]) : SExp (error 'fail))
(define: (*cond [a : atom] [t : table]) : SExp (error)) (define: (*cond [a : atom] [t : table]) : SExp (error 'fail))
(define: (*application [a : atom] [t : table]) : SExp (error)) (define: (*application [a : atom] [t : table]) : SExp (error 'fail))
(define: (list->action [e : (list-of SExp)]) : action (define: (list->action [e : (list-of SExp)]) : action
(cond* (cond*