* func-arity should not return (0 . many) with apply-partially
@ 2023-09-07 7:19 Joseph Turner
0 siblings, 0 replies; only message in thread
From: Joseph Turner @ 2023-09-07 7:19 UTC (permalink / raw)
To: Emacs Devel Mailing List
(func-arity (apply-partially #'eq 'foo))
⇒ (0 . many)
gives the impression that the following is valid:
(funcall (apply-partially #'eq 'foo) 'foo 'bar)
error→ (wrong-number-of-arguments #<subr eq> 3)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-09-07 7:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-07 7:19 func-arity should not return (0 . many) with apply-partially Joseph Turner
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.