You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(define-syntax let-values
(syntax-rules ()
((_ ()) nil)
((_ () body ...) (begin body ...))
((_ (((x ...) values) ...) body ...)
(apply (lambda (x ... ...)
body ...)
(vector->list (apply vector-append (map (lambda (arg) ((. arg "valueOf")))
(list values ...)))))))
"(let-values binding body ...) The macro work similar to let but variable is list of values and value need to evaluate to result of calling values.")
The text was updated successfully, but these errors were encountered:
This doesn't work:
But it's expected to return a list.
This is code for
let-values
:The text was updated successfully, but these errors were encountered: