Refactor (make argument arity clear)

original commit: 42fc3aeda01b987e1a60e14fe760444fc31732a4
This commit is contained in:
Asumu Takikawa 2012-11-30 15:49:05 -05:00
parent 0f0966b8f9
commit 14187b4cdd

View File

@ -331,8 +331,9 @@
[(tc-result1: (Continuation-Mark-Keyof: rhs))
(tc-expr/check/type #'e2 rhs)
(tc-expr/check #'e3 expected)]
[(? (λ _ (and (identifier? #'e1)
(free-identifier=? #'pz:pk #'e1))))
[(? (λ (result)
(and (identifier? #'e1)
(free-identifier=? #'pz:pk #'e1))))
(tc-expr/check/type #'e2 Univ)
(tc-expr/check #'e3 expected)]
[(tc-result1: key-t)
@ -437,8 +438,9 @@
[(tc-result1: (Continuation-Mark-Keyof: rhs))
(tc-expr/check/type #'e2 rhs)
(tc-expr #'e3)]
[(? (λ _ (and (identifier? #'e1)
(free-identifier=? #'pz:pk #'e1))))
[(? (λ (result)
(and (identifier? #'e1)
(free-identifier=? #'pz:pk #'e1))))
(tc-expr/check/type #'e2 Univ)
(tc-expr #'e3)]
[(tc-result1: key-t)