[Top][All Lists]
[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: |
felix winkelmann |
Subject: |
Re: [Chicken-users] srfi-29 egg problems: address@hidden doesn't seem to work? |
Date: |
Thu, 6 Mar 2008 09:46:49 +0100 |
On Wed, Mar 5, 2008 at 8:28 AM, Robin Lee Powell
<address@hidden> wrote:
>
> I copied the attached example directly from
> http://srfi.schemers.org/srfi-29/srfi-29.html , with the following
> changes:
>
> 1. I don't use store-bundle! or load-bundle! at all
>
> 2. I force the language to French.
>
> Actually running it gives me:
>
> Error: (fprintf) illegal format-string character: #\1
>
> 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) <--
>
> This seems te be coming from the "address@hidden, c'est ~a." string, which
> srfi-29 says it supports. Am I missing something?
>
> CHICKEN Version 2.726
>
> Just downloaded the egg, so should be the latest.
>
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.
cheers,
felix