On 10-08-2022 15:01, Jean Abou Samra wrote:
Hi,See: $ guile3.0 GNU Guile 3.0.7 Copyright (C) 1995-2021 Free Software Foundation, Inc. Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'. This program is free software, and you are welcome to redistribute it under certain conditions; type `,show c' for details. Enter `,help' for help. scheme@(guile-user)> (eval '(values 1 2) (current-module)) $1 = 1 $2 = 2 scheme@(guile-user)> (use-modules (system base compile)) scheme@(guile-user)> (compile '(values 1 2) #:env (current-module)) $3 = 1 Is it expected that compile doesn't cope with a return of multiple values? [...]
Sounds like a bug to me (it's not a documented limitation). I would report it.
Greetings, Maxime
OpenPGP_0x49E3EE22191725EE.asc
Description: OpenPGP public key
OpenPGP_signature
Description: OpenPGP digital signature