chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] s11n among different chicken versions


From: Daishi Kato
Subject: Re: [Chicken-users] s11n among different chicken versions
Date: Tue, 1 Aug 2006 10:32:55 +0900

Looks like the s11n egg is updated. So I tried, only to see I'm
missing something.

Here is my fallback func:

(define (deserialize-fallback id)
 (cond ((string=? id "f_3497library.scm") ; chicken-2.315
        equal?)
       ((string=? id "f_6914extras.scm") ; chicken-2.315
        hash)
       (else
        (error "deserialize-fallback unknown id" id))))

What is missing?

Daishi

On 7/21/06, felix winkelmann <address@hidden> wrote:
On 7/21/06, Daishi Kato <address@hidden> wrote:
>
> Does SRFI-10 keep identity?
> In other words, how can it handle this: (let ([x (cons 1 1)]) (cons x x))

No, it's just a means of extending the reader.

>
> OK, it seems s11n is easier for my purpose.
> Although I still do not understand the internals of s11n,
> my proposal is to allow deserialize to have an optional
> fallback deserializer, just like serialize has an optional
> fallbak serializer; why not?

Good point. I'll take a look.


cheers,
felix


--
http://galinha.ucpel.tche.br:8081/blog/blog.ssp





reply via email to

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