removed redundant syntax hack
svn: r10417
This commit is contained in:
parent
945dc376d2
commit
b7839a4ec3
|
@ -64,11 +64,8 @@
|
|||
(define-syntax (delay stx)
|
||||
(syntax-case stx ()
|
||||
[(delay expr)
|
||||
(with-syntax ([proc (syntax-property
|
||||
(syntax/loc stx (lambda () expr))
|
||||
'inferred-name (syntax-local-name))])
|
||||
(syntax/loc stx
|
||||
(lazy (make-promise (call-with-values proc list)))))]))
|
||||
(syntax/loc stx
|
||||
(lazy (make-promise (call-with-values (lambda () expr) list))))]))
|
||||
|
||||
;; force iterates on lazy promises (forbids dependency cycles)
|
||||
;; * (force X) = X for non promises
|
||||
|
|
Loading…
Reference in New Issue
Block a user