Hi,
I think that ice-9's let-keyword* macro is the thing that I've been
looking for, but I haven't been able to work out how to use it.
Could we have an example in the manual?
Thanks!
--
Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen
[EMAIL PROTECTED] (Ludovic Courtès) writes:
> Hi,
>
> The patch below provides further i18n support.
Overall, this all looks fine to me (although I'm nowhere near an
expert in i18n). Detailed comments on about 40% are as follows.
> +# langinfo.h, nl_types.h - SuS v2
> +# iconv.h - SuS v2
"
[EMAIL PROTECTED] (Ludovic Courtès) writes:
>
> Performing this kind of optimization somehow breaks the
> compilation/execution boundary (see the links Rob posted): `provide?' is
> just a regular procedure, and as such its invocations should not be
> evaluated at compilation-time (the same goes for
[EMAIL PROTECTED] (Ludovic Courtès) writes:
>
> I'd be in favor of moving the `gettext'-related functions in `(ice-9
> i18n)'.
They'll be used by the core to translate various core messages at some
stage, that's why they're there.
[srfi-13]
> Perhaps, but this is undocumented behavior. :-)
Keep
[EMAIL PROTECTED] (Ludovic Courtès) writes:
>
> In order to be consistent with the rest of `(ice-9 i18n)',
> `language-information' accepts an optional argument which should be a
> locale object. Consequently, `language-information' has to perform
> appropriate charset conversion.
If you ask for
Han-Wen Nienhuys <[EMAIL PROTECTED]> writes:
>
> I think that ice-9's let-keyword* macro is the thing that I've been
> looking for, but I haven't been able to work out how to use it.
I think it goes like
(let-keywords '(#:foo "hello" #:xyzzy "world") #t
((foo "defa
Kevin Ryde escreveu:
> I think the "let-keywords*" variant allows the default for one
> variable to use the value of a previous one.
>
> (let-keywords* '(#:foo 1 #:xyzzy 2) #t
> ((foo 1)
> (bar (+ foo 2)))
> foo => 1
> bar => 3
>