From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: tomas@tuxteam.de Newsgroups: gmane.lisp.guile.user Subject: Re: Applicable structs and vtables Date: Sat, 14 Aug 2021 12:40:56 +0200 Message-ID: <20210814104056.GA22710@tuxteam.de> References: <598960ee-3baf-dca7-ed88-e128d5eb2fe9@posteo.de> <20210814065316.GB11671@tuxteam.de> <4f308868-fb6b-6557-76a8-1c3481983a48@posteo.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="nFreZHaLTZJo0R7j" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7515"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Guile User To: Zelphir Kaltstahl Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Sat Aug 14 12:41:14 2021 Return-path: Envelope-to: guile-user@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 1mEr6H-0001gA-Rp for guile-user@m.gmane-mx.org; Sat, 14 Aug 2021 12:41:13 +0200 Original-Received: from localhost ([::1]:49018 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mEr6F-0004NF-Q9 for guile-user@m.gmane-mx.org; Sat, 14 Aug 2021 06:41:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44146) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mEr64-0004Mr-Tq for guile-user@gnu.org; Sat, 14 Aug 2021 06:41:01 -0400 Original-Received: from mail.tuxteam.de ([5.199.139.25]:36152) by eggs.gnu.org with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.90_1) (envelope-from ) id 1mEr63-0005es-0r for guile-user@gnu.org; Sat, 14 Aug 2021 06:41:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tuxteam.de; s=mail; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date; bh=otO/+Z0XVYaJGQm38zuXySIBL6MtZ5fbPuUTkCp9fCE=; b=KMSCGUPNoO+QufdRpCDXhJqTGVY9BBOWxJmzi4iMi4nBnKbd52s7jtuxSxD66M6fW4InN/LCX/CfoCNp30moPCDqzZy/2bCSHhxdjGasjJyiu3Hhf7m85E+zqKVyoa0mW7SG5xshiS6UFUoDlvGLs8mqfDlt6Vuf3dX5SgelE0Z37LTKRFaK+F/ESlhBCqUjSJ2+kp7NaEwmme49zRoJMGdWRS563Z5oHn3B6o8FpEUIFOV2thV4vbaHNEwz11Kqt19FeYEayFUzNua8ecCkX9yLyPuBr0jPxievCrYoVJeL4Kxlvr73mMF7iejR0xtXajnCoB7bMSSqZqWlC9blwA==; Original-Received: from tomas by mail.tuxteam.de with local (Exim 4.80) (envelope-from ) id 1mEr60-00064u-9G; Sat, 14 Aug 2021 12:40:56 +0200 Content-Disposition: inline In-Reply-To: <4f308868-fb6b-6557-76a8-1c3481983a48@posteo.de> Received-SPF: pass client-ip=5.199.139.25; envelope-from=tomas@tuxteam.de; helo=mail.tuxteam.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.io gmane.lisp.guile.user:17686 Archived-At: --nFreZHaLTZJo0R7j Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Aug 14, 2021 at 09:19:49AM +0000, Zelphir Kaltstahl wrote: > Hi Tomas! >=20 > Ultimately I need the minimum and maximum arity of functions [...] It seems that the second number in `procedure-minimum-arity's result is the number of optional arguments (cf. `define*'). Since Guile 2.0, optional args are in the core. So that still might fit your bill. Or perhaps not ;-) Cheers - t --nFreZHaLTZJo0R7j Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAmEXnbgACgkQBcgs9XrR2kYTXwCfVgCoqvZdQZsoiGCnko7l601Y AOsAniWhTT8ND6bUHuKFaIdIPcUH5cES =EEjb -----END PGP SIGNATURE----- --nFreZHaLTZJo0R7j--