From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Andrea Corallo <acorallo@gnu.org>
Cc: Stefan Monnier via "Emacs development discussions."
<emacs-devel@gnu.org>
Subject: Re: Declaring primitive function types
Date: Sun, 03 Mar 2024 09:31:59 -0500 [thread overview]
Message-ID: <jwva5nfe6cj.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <yp1plwb1ylo.fsf@fencepost.gnu.org> (Andrea Corallo's message of "Sun, 03 Mar 2024 03:57:55 -0500")
>> Another option along those lines would be:
>>
>> DEFUN ("arrayp", Farrayp, Sarrayp, 1, 1, 0,
>> doc: /* Return t if OBJECT is an array (string or vector). */
>> ((type (function (t) boolean))))
>> (Lisp_Object object)
>>
>> which could accommodate extensions like
>>
>> DEFUN (...
>> doc: /* ... */
>> ((type (function (t) boolean))
>> (obsolete "use pcase, of course" "24,1")
>> (usage (fn ARGS [DOCSTRING] [INTERACTIVE] BODY...))))
In both examples above, there should be a comma right after
the doccomment. Sorry 'bout that.
Stefan
prev parent reply other threads:[~2024-03-03 14:31 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-23 9:55 Declaring primitive function types Andrea Corallo
2024-03-02 21:45 ` Stefan Monnier via Emacs development discussions.
2024-03-03 8:57 ` Andrea Corallo
2024-03-03 14:31 ` Stefan Monnier [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwva5nfe6cj.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=acorallo@gnu.org \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.