From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: =?UTF-8?Q?Linus_Bj=C3=B6rnstam?= Newsgroups: gmane.lisp.guile.devel Subject: define-inlinable* : a define-inlinable with lambda*-behaviour. Date: Fri, 24 Apr 2020 09:13:22 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="96630"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Cyrus-JMAP/3.3.0-dev0-351-g9981f4f-fmstable-20200421v1 To: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Fri Apr 24 09:14:07 2020 Return-path: Envelope-to: guile-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jRsXF-000Oyb-Cx for guile-devel@m.gmane-mx.org; Fri, 24 Apr 2020 09:14:05 +0200 Original-Received: from localhost ([::1]:52930 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jRsXE-0001wa-8q for guile-devel@m.gmane-mx.org; Fri, 24 Apr 2020 03:14:04 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42776) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jRsWz-0001uf-E8 for guile-devel@gnu.org; Fri, 24 Apr 2020 03:13:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jRsWx-0006k0-JA for guile-devel@gnu.org; Fri, 24 Apr 2020 03:13:49 -0400 Original-Received: from out1-smtp.messagingengine.com ([66.111.4.25]:47235) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jRsWw-0006f8-Ou for guile-devel@gnu.org; Fri, 24 Apr 2020 03:13:47 -0400 Original-Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 95A765C0203 for ; Fri, 24 Apr 2020 03:13:45 -0400 (EDT) Original-Received: from imap1 ([10.202.2.51]) by compute7.internal (MEProxy); Fri, 24 Apr 2020 03:13:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=veryfast.biz; h= mime-version:message-id:date:from:to:subject:content-type :content-transfer-encoding; s=fm2; bh=9Af4C8DyfsCilONjre/JsqC6av 2dY+tH2z4p+1Gebq4=; b=I4UWkyrv3CifPdo0NeGaseiO7ko87c8hGdm2KSYqL+ IpkzdW4WRTS3safIftAzw66OqO5H1v0BcvOPtHCEODNb1ojhjZ1Gu/xDGuY0XGRt 2Z0DPQ+GmgUss+sOzdvydgESgkAEpNQJiyzSa3fIg80OcjZwGvFz25QiAqIsfAcp KNeqi5QxKuOmpNWD+ZC/LS+A9kSAJ+hdBQ9s7LxNA9K44sviCxsjURrgSCokaSpH 4dGzhbheXNHwrN8OilfkRLV5CqosLMEOj3SrEuGtShCC80G5lcCo0q7UhXTbu4yx jGMXh0XNZ0J/dYaBwLzvuw1Vx1oNqoc86tJ+kpS5Bisg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=9Af4C8 DyfsCilONjre/JsqC6av2dY+tH2z4p+1Gebq4=; b=oWwTT6sMpvNTHZniHDA1xm byVDO/Un+ARBEp2enc/6kCKQmwIOL0l2j9aHheLu7cYe47YFDQJMMRgDUlo9ksvs VinKK8g9wgD68FP47u/EDDX77U7p8wZKS1Fmnxsp1r9vu1dsqucolU2t5Jhc1jtK 4LDm1DP/70M7IPIMXywJkFo8+Cd5Czc4yuGACANrpgiQlCKZ7jRBRjlpTwlngh/1 rflk/CWmoUf93D5Aands2rJcz5Db33jEpPyo0dVX0yQpFurPvcehv0dhgAa+8Nw9 34QRt8OtJ+iH184bJMKng99HqVwzIQI2Q8RFz6UFVQK3c2nqqK2XIsLkjblizALQ == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrhedtgddutdefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefofgggkfffhffvufgtgfesthhqre dtreerjeenucfhrhhomhepnfhinhhushgpuehjnphrnhhsthgrmhcuoehlihhnuhhsrdgs jhhorhhnshhtrghmsehvvghrhihfrghsthdrsghiiieqnecuvehluhhsthgvrhfuihiivg eptdenucfrrghrrghmpehmrghilhhfrhhomheplhhinhhushdrsghjohhrnhhsthgrmhes vhgvrhihfhgrshhtrdgsihii X-ME-Proxy: Original-Received: by mailuser.nyi.internal (Postfix, from userid 501) id 67741C200A5; Fri, 24 Apr 2020 03:13:45 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface Received-SPF: pass client-ip=66.111.4.25; envelope-from=linus.bjornstam@veryfast.biz; helo=out1-smtp.messagingengine.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/04/24 01:20:46 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 66.111.4.25 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "guile-devel" Xref: news.gmane.io gmane.lisp.guile.devel:20492 Archived-At: I just found that (ice-9 optargs) has defmacro*, which made me think abo= ut a question that has popped up on irc about once every 4 months: why i= sn't there a define-inlinable*?=20 I have a working implementation, and I want to know if there is any inte= rest to include it in guile. Either in boot-9.scm, or as a friend of def= macro* in (ice-9 opt-args). A straight forward simple implementation would have a regression over de= fine-inlinable: define-inlinable does arg count validation, which is a l= ot less simple when you have keywords and/or optional arguments. Would t= his be an acceptable regression if they are implemented as two distinct = macros? If one does a proper define-inlinable*, it can be used to implement defi= ne-inlinable (since that would be the simple case for it). What do the maintainers think? --=20 Linus Bj=C3=B6rnstam