[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Strange Scheme problem
From: |
Ralf Mattes |
Subject: |
Re: Strange Scheme problem |
Date: |
Wed, 18 Nov 2015 15:03:59 +0100 |
User-agent: |
SOGoMail 2.3.2 |
Am Mittwoch, 18. November 2015 12:10 CET, Andrew Bernard <address@hidden>
schrieb:
>
> Hello Jacques,
>
> A slightly more idiomatic Scheme-like way to get the current file name being
> processed might be something like this:
>
> #(define (file-name)
> (let* ((args (program-arguments))
> (args-len (length args)))
> (list-ref args (- args-len 1))))
Wouldn't that be equivalent to:
(last (program-arguments))
:-)
Cheers, RalfD
- Strange Scheme problem, Menu Jacques, 2015/11/17
- Re: Strange Scheme problem, Gilles THIBAULT, 2015/11/17
- Re: Strange Scheme problem, Menu Jacques, 2015/11/17
- Re: Strange Scheme problem, Andrew Bernard, 2015/11/17
- Re: Strange Scheme problem, Menu Jacques, 2015/11/18
- Re: Strange Scheme problem, David Kastrup, 2015/11/18
- Re: Strange Scheme problem, Menu Jacques, 2015/11/18
- Re: Strange Scheme problem, Andrew Bernard, 2015/11/18
- Re: Strange Scheme problem, Menu Jacques, 2015/11/18
- Re: Strange Scheme problem,
Ralf Mattes <=
- Re: Strange Scheme problem, Andrew Bernard, 2015/11/18
- Re: Strange Scheme problem, David Kastrup, 2015/11/19
Re: Strange Scheme problem, Andrew Bernard, 2015/11/17