From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: =?UTF-8?Q?Marc_Nieper=2DWi=C3=9Fkirchen?= Newsgroups: gmane.lisp.guile.devel Subject: Feature request: Expose `ellipsis?' from psyntax.ss Date: Wed, 14 Nov 2018 14:16:22 +0100 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000003f8224057a9fbe9c" X-Trace: blaine.gmane.org 1542205899 15877 195.159.176.226 (14 Nov 2018 14:31:39 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 14 Nov 2018 14:31:39 +0000 (UTC) To: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Wed Nov 14 15:31:34 2018 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gMwCb-00041D-Sv for guile-devel@m.gmane.org; Wed, 14 Nov 2018 15:31:33 +0100 Original-Received: from localhost ([::1]:60736 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gMwEi-0007jQ-By for guile-devel@m.gmane.org; Wed, 14 Nov 2018 09:33:44 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42954) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gMv2J-0006sy-Kj for guile-devel@gnu.org; Wed, 14 Nov 2018 08:16:52 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gMv2G-0003pw-CX for guile-devel@gnu.org; Wed, 14 Nov 2018 08:16:51 -0500 Original-Received: from mail-pf1-f181.google.com ([209.85.210.181]:38322) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gMv2G-0003Qr-6b for guile-devel@gnu.org; Wed, 14 Nov 2018 08:16:48 -0500 Original-Received: by mail-pf1-f181.google.com with SMTP id v76-v6so5085005pfa.5 for ; Wed, 14 Nov 2018 05:16:35 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=Mb9nGjwJxs36/tBff5pVqCDZXMmxCQqiic8wMwWHAiU=; b=hV9jTBfMkfwz3RCb4rx2yo1QU8dzlbHi045gQOdu6V2nTjZQ9fKyLC9va/645IlPRE 2FiBiA+j3MO+WctE85w7V283XVWBnyN8jG31csVslrxIUBkjBzAeQ8Z/ryy+VnthwWqA Y5pFlUs7GSBUsuyo8oJbr0Upzc/dupQZMFDucPjgx9iyRBm2QjraSHYoAXGR/p1vIOle MPdqBI0wg1PCUVIKm9Fm3nTjG29aiqraUSk46Jh8YrjqCGlIPY6UOfziAHoNJpYR3EZF 8xaRKZF9eJKTXcJmng1fAFx6nNHWG9M9lfyVypb1YS52vQ//FeRklQ8lOIhl35VVdjlo B2+g== X-Gm-Message-State: AGRZ1gKrqr5Iv/6jOi89BuCDc4X0iKXfZNS2CFlqzvQ6/fmrH04UTiU0 CSbr4IkcxTeggPVXOR/+28t+2ff2BxUeCz8uoGLp+eMX X-Google-Smtp-Source: AJdET5dbllgwjpNhJ3kug4o0O9EhUnqeOyLJU4TqlUIxvVJouYxM/oucc1osMFuwsthn9RD0Yc4yGzBRJFf+xfM2LPo= X-Received: by 2002:a63:6f0d:: with SMTP id k13mr1736728pgc.42.1542201393773; Wed, 14 Nov 2018 05:16:33 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.210.181 X-Mailman-Approved-At: Wed, 14 Nov 2018 09:33:07 -0500 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.lisp.guile.devel:19733 Archived-At: --0000000000003f8224057a9fbe9c Content-Type: text/plain; charset="UTF-8" Guile includes a mechanism to specify a custom ellipsis for `syntax-case' macros. For macro writers it would be nice if there were a way to check whether a given identifier is the current (custom) ellipsis. The `ellipsis?' procedure in psyntax.ss does exactly this, but it isn't available to user code. Re-implementing it is not possible without accessing internal details like the special identifier #{ $sc-ellipsis }# and without resorting to hacks. Thus, I would like to ask to add `ellipsis?' to the list of procedures exported by Guile (like `identifier?` or `bound-identifier=?` already are). -- Marc --0000000000003f8224057a9fbe9c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Guile includes a mechanism to specify a custom ellipsis fo= r `syntax-case' macros. For macro writers it would be nice if there wer= e a way to check whether a given identifier is the current (custom) ellipsi= s.

The `ellipsis?' procedure in psyntax.ss does exac= tly this, but it isn't available to user code. Re-implementing it is no= t possible without accessing internal details like the special identifier #= { $sc-ellipsis }# and without resorting to hacks.

= Thus, I would like to ask to add `ellipsis?' to the list of procedures = exported by Guile (like `identifier?` or `bound-identifier=3D?` already are= ).

-- Marc
--0000000000003f8224057a9fbe9c--