Re: Passing along variable-number arguments

2016-02-02 Thread David Kastrup
Urs Liska writes: > Am 02.02.2016 um 00:44 schrieb David Kastrup: >> Urs Liska writes: >> >>> In this code "format" receives "fmt" (the format strings) and "vals" - >>> the *list* of arguments. >>> How should I modify this so "format" doesn't

Passing along variable-number arguments

2016-02-01 Thread Urs Liska
Hi, I'm hitting a wall with Scheme once more. I need to create wrapper functions around (format) and other functions that need a variable number of arguments. I know that with #(define (my-proc fmt . vals) "vals" will be an arbitrary number of arguments that will be wrapped in a list, and

Re: Passing along variable-number arguments

2016-02-01 Thread David Kastrup
Urs Liska writes: > Hi, > > I'm hitting a wall with Scheme once more. > I need to create wrapper functions around (format) and other functions > that need a variable number of arguments. > > I know that with > > #(define (my-proc fmt . vals) > > "vals" will be an