From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mikael Djurfeldt Newsgroups: gmane.lisp.guile.devel Subject: Re: Scmutils in guile-2.0 Date: Fri, 8 Feb 2013 00:33:37 +0100 Message-ID: References: <87sj57lr6z.fsf@gnu.org> Reply-To: mikael@djurfeldt.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1360280558 19335 80.91.229.3 (7 Feb 2013 23:42:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 7 Feb 2013 23:42:38 +0000 (UTC) Cc: guile-devel@gnu.org To: =?ISO-8859-1?Q?Ludovic_Court=E8s?= Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Fri Feb 08 00:42:59 2013 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1U3b7L-0006IF-9I for guile-devel@m.gmane.org; Fri, 08 Feb 2013 00:42:59 +0100 Original-Received: from localhost ([::1]:33264 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U3b72-0001gD-7I for guile-devel@m.gmane.org; Thu, 07 Feb 2013 18:42:40 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:39252) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U3b6x-0001g6-V4 for guile-devel@gnu.org; Thu, 07 Feb 2013 18:42:38 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U3ayJ-0006ay-DA for guile-devel@gnu.org; Thu, 07 Feb 2013 18:34:18 -0500 Original-Received: from mail-ea0-f172.google.com ([209.85.215.172]:63847) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U3ayJ-0006ag-6G; Thu, 07 Feb 2013 18:33:39 -0500 Original-Received: by mail-ea0-f172.google.com with SMTP id f13so1447107eaa.17 for ; Thu, 07 Feb 2013 15:33:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:reply-to:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=7kvuaZutG/w2zJ52/v7HXXhdtGt3t2OCLu8SCiNkvZ0=; b=jQX2cettiKYLZmQ0EF0DDwtr5bnJwV+8gxKvKuQ5vDzPGR09PbWxl/Y7gzLJX9lEH7 0U28VpcWIomfmQQ6M1IUVTXH9uFYXrdWq+f/TmYMO3yXnD0OaQrK+OCQJ/fUIzmj/MVg z7dyffJBN1XehqQVjuVvAogacHzarOif3m4TQcvgQl+sUboLVQTCzTJ7ZPe0iU4lHxGZ 4J126wie6ppPeX/ClTTo6hadDnPVPuL9NjBq9DIwUTyVoZBjLY/aYUdItR49xR8qzYYn F6pq0er0BgM76aEfFwRCY8Ja9H7IufFUg+vq7T+PV0IQiPUXuUnWgA+t8/2ElNJ/B9pU 4CbA== X-Received: by 10.14.176.66 with SMTP id a42mr9073734eem.34.1360280017451; Thu, 07 Feb 2013 15:33:37 -0800 (PST) Original-Received: by 10.14.225.2 with HTTP; Thu, 7 Feb 2013 15:33:37 -0800 (PST) In-Reply-To: <87sj57lr6z.fsf@gnu.org> X-Google-Sender-Auth: D0sgp8rVmqkGPoFnz2rMkYB8VE0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 209.85.215.172 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:15702 Archived-At: On Thu, Feb 7, 2013 at 11:00 PM, Ludovic Court=E8s wrote: >> +(cond-expand (guile-2 >> + (define-syntax define-integrable >> + (syntax-rules () >> + ((_ form body ...) (define form body ...))))) > > You can actually use =91define-inlinable=92 here (info "(guile) Inlinable > Procedures"). Sorry, I'm lost. Doesn't define-inlinable define a procedure? Here, the idea simply was to have `define-integrable' behave exactly the same as `define'. BTW, I provided this patch just so that those who are interested could get started using guile-scmutils with guile-2.0. However, guile-scmutils only contains a fraction of the real scmutils. For the real port, I'm working on an mit-scheme compatibility module so that as much as possible of the original source can be used as is. Best regards, Mikael