unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* 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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).