emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

func-arity should not return (0 . many) with apply-partially


From: Joseph Turner
Subject: func-arity should not return (0 . many) with apply-partially
Date: Thu, 07 Sep 2023 00:19:32 -0700

(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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]