chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] srfi-29 egg problems: address@hidden doesn't seem to


From: Robin Lee Powell
Subject: Re: [Chicken-users] srfi-29 egg problems: address@hidden doesn't seem to work?
Date: Thu, 6 Mar 2008 20:18:32 -0800
User-agent: Mutt/1.5.17+20080114 (2008-01-14)

On Thu, Mar 06, 2008 at 09:46:49AM +0100, felix winkelmann wrote:
> 
> You need a version of "format" that is more capable than the
> builtin one (which builds on [sf]printf). Install "format-modular"
> or "format", and load that before srfi-29.

Did that; now I get:

Error: (vector-ref) out of range
#("12:00" "Fred")
2

        Call history:

        <syntax>                (localized-message (quote goodbye) myname)
        <syntax>                (quote goodbye)
        <syntax>                (display #\newline)
        <eval>          (display (localized-message (quote time) "12:00" 
myname))
        <eval>          (localized-message (quote time) "12:00" myname)
        <eval>          [localized-message] (apply format (cons 
(localized-template (quote hello-program) message-name) args))
        <eval>          [localized-message] (cons (localized-template (quote 
hello-program) message-name) args)
        <eval>          [localized-message] (localized-template (quote 
hello-program) message-name)     <--

Code attached.  Not that it matters, as srfi-29 isn't sufficient for
me (see
http://search.cpan.org/~petdance/Locale-Maketext-1.12/lib/Locale/Maketext/TPJ13.pod
) but now I'm curious.  :)

-Robin


-- 
Lojban Reason #17: http://en.wikipedia.org/wiki/Buffalo_buffalo
Proud Supporter of the Singularity Institute - http://singinst.org/
http://www.digitalkingdom.org/~rlpowell/ *** http://www.lojban.org/

Attachment: 29-test2.scm
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]