chicken-hackers
[Top][All Lists]
Advanced

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

Re: [Chicken-hackers] [PATCH] Export specializations with generated type


From: Evan Hanson
Subject: Re: [Chicken-hackers] [PATCH] Export specializations with generated type database information
Date: Sun, 19 Oct 2014 23:05:24 -0700
User-agent: OpenSMTPD enqueuer (Demoosh)

On 2014-10-19 13:27, Peter Bex wrote:
> I have one concern

That's addressed, as discussed on IRC.

Also as discussed, here are versions that suffix specializations "#s#0",
"#s#1", ... to avoid collisions in the following (admittedly rare) case:

    (define (foo x) 0)                                ; foo
    (define-specialization (foo (x fixnum)) x)        ; foo#0
    (module foo (|0|) (import scheme) (define |0| 1)) ; foo#0

Thanks for taking a look!

Cheers,

Evan

Attachment: 0001-Export-specializations-with-generated-type-database-.4.patch
Description: Text document

Attachment: 0001-Export-specializations-with-generated-type-database-.5.patch
Description: Text document


reply via email to

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