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 10:54:57 +0100
User-agent: Gnus/5.130005 (Ma Gnus v0.5) Emacs/24.2 (gnu/linux)

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’.

Ludo’.



reply via email to

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