Updated poly/c implementation for change to arity of projections.
svn: r16582
This commit is contained in:
parent
8f62218de5
commit
d2f16e3828
|
@ -40,10 +40,13 @@
|
|||
#:name [name (build-compound-type-name 'apply/c c)])
|
||||
(make-proj-contract
|
||||
name
|
||||
(lambda (pos neg src name2)
|
||||
(lambda (pos neg src name2 positive-position?)
|
||||
(lambda (p)
|
||||
(let* ([ctc (coerce-contract 'apply/c c)]
|
||||
[thunk (lambda () ((((proj-get ctc) ctc) pos neg src name2) p))])
|
||||
[thunk
|
||||
(lambda ()
|
||||
((((proj-get ctc) ctc)
|
||||
pos neg src name2 positive-position?) p))])
|
||||
(make-keyword-procedure
|
||||
(lambda (keys vals . args) (keyword-apply (thunk) keys vals args))
|
||||
(case-lambda
|
||||
|
|
Loading…
Reference in New Issue
Block a user