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 (div-mul x y)
(values (/ x y) (* x y)))
(let*-values (((x) 2)
((y) 10)
((div mul) (div-mul x y)))
(+ div mul))
It throws an error:
Error: Expecting number got undefined in expression `vector->list`
in macro:
(() ((_ ()) ()) ((_ () body ...) (begin body ...)) ((_ ((bind values) rest ...) . body) (apply (lambda bind (let*-values (rest ...) . body)) (vector->list ((. values "valueOf"))))))
at LambdaContext.typecheck (file:///home/kuba/projects/jcubic/scheme/lips/src/lips.js:10316:15)
at call_function (file:///home/kuba/projects/jcubic/scheme/lips/src/lips.js:10529:32)
at file:///home/kuba/projects/jcubic/scheme/lips/src/lips.js:10543:24
at unpromise_array (file:///home/kuba/projects/jcubic/scheme/lips/src/lips.js:1782:12)
at unpromise (file:///home/kuba/projects/jcubic/scheme/lips/src/lips.js:1765:16)
at apply (file:///home/kuba/projects/jcubic/scheme/lips/src/lips.js:10535:12)
at evaluate (file:///home/kuba/projects/jcubic/scheme/lips/src/lips.js:10705:22)
at loop (file:///home/kuba/projects/jcubic/scheme/lips/src/lips.js:7989:29)
at file:///home/kuba/projects/jcubic/scheme/lips/src/lips.js:7992:28
at unpromise (file:///home/kuba/projects/jcubic/scheme/lips/src/lips.js:1770:12)
The text was updated successfully, but these errors were encountered:
If you execute this code:
It throws an error:
The text was updated successfully, but these errors were encountered: