guile-devel
[Top][All Lists]
Advanced

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

Re: Scmutils in guile-2.0


From: Ludovic Courtès
Subject: Re: Scmutils in guile-2.0
Date: Fri, 08 Feb 2013 11:49:54 +0100
User-agent: Gnus/5.130005 (Ma Gnus v0.5) Emacs/24.2 (gnu/linux)

Mikael Djurfeldt <address@hidden> skribis:

> On Fri, Feb 8, 2013 at 10:54 AM, Ludovic Courtès <address@hidden> wrote:
>> Mikael Djurfeldt <address@hidden> skribis:
>>
>>> On Thu, Feb 7, 2013 at 11:00 PM, Ludovic Courtès <address@hidden> wrote:
>>>>> +(cond-expand (guile-2
>>>>> +           (define-syntax define-integrable
>>>>> +             (syntax-rules ()
>>>>> +               ((_ form body ...) (define form body ...)))))
>>>>
>>>> You can actually use ‘define-inlinable’ here (info "(guile) Inlinable
>>>> Procedures").
>>>
>>> Sorry, I'm lost.
>>>
>>> Doesn't define-inlinable define a procedure?
>>
>> It does, but it’s equivalent to what some implementations call
>> ‘define-integrable’.
>
> Ludovic---sorry, I'm being dense.  You see, I just by reflex
> interpreted "integrable" as a mathematical term.  But I should have
> reacted against this being defined as a compatibility measure.
>
> What you are saying is that I should use define-inlinable instead of
> define in the definition of define-integrable, right?

Exactly.  Sorry for not making myself clear!

Ludo’.



reply via email to

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