I have this (on guile 3.0.0),
(define (f x) (call-with-values (lambda () x) (case-lambda ((x) ...) (x
...)
and the code does not simplify to (define (f x) x), why?
It would be great to have guile optimize this as in python we have
x=1,0
=> x=(1,0)
And the great thing with python on guile i
On Mon, 13 Apr 2020 at 02:59, Stefan Israelsson Tampe
wrote:
>
> I have this (on guile 3.0.0),
>
> (define (f x) (call-with-values (lambda () x) (case-lambda ((x) ...) (x
> ...)
>
> and the code does not simplify to (define (f x) x), why?
>
> It would be great to have guile optimize this as i