let-keywords?

2006-12-11 Thread Han-Wen Nienhuys
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

Re: More i18n

2006-12-11 Thread Neil Jerram
[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 "

Re: Introducing `cond-feature'

2006-12-11 Thread Kevin Ryde
[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

Re: Text collation

2006-12-11 Thread Kevin Ryde
[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

Re: More i18n

2006-12-11 Thread Kevin Ryde
[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

Re: let-keywords?

2006-12-11 Thread Kevin Ryde
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

Re: let-keywords?

2006-12-11 Thread Han-Wen Nienhuys
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 >