From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Philipp Stephani Newsgroups: gmane.emacs.devel Subject: Re: Arbitrary function: find the number(s) of expected arguments Date: Sat, 19 Mar 2016 14:26:49 +0000 Message-ID: References: <56E8906C.5050405@lanl.gov> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a114080c0004340052e67a819 X-Trace: ger.gmane.org 1458397631 13907 80.91.229.3 (19 Mar 2016 14:27:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 19 Mar 2016 14:27:11 +0000 (UTC) Cc: emacs-devel@gnu.org To: Paul Pogonyshev , Davis Herring Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Mar 19 15:27:06 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ahHqL-0000SI-Ds for ged-emacs-devel@m.gmane.org; Sat, 19 Mar 2016 15:27:05 +0100 Original-Received: from localhost ([::1]:49046 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ahHqK-0008C9-Eb for ged-emacs-devel@m.gmane.org; Sat, 19 Mar 2016 10:27:04 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54901) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ahHqH-0008Bq-1N for emacs-devel@gnu.org; Sat, 19 Mar 2016 10:27:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ahHqG-0000c1-1e for emacs-devel@gnu.org; Sat, 19 Mar 2016 10:27:00 -0400 Original-Received: from mail-lf0-x22d.google.com ([2a00:1450:4010:c07::22d]:33928) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ahHqF-0000bd-Pp for emacs-devel@gnu.org; Sat, 19 Mar 2016 10:26:59 -0400 Original-Received: by mail-lf0-x22d.google.com with SMTP id e196so7329815lfg.1 for ; Sat, 19 Mar 2016 07:26:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=u9Xrz0FnIKHzAwooYeVi5qrIb3h8qKG2ut73TdZBym8=; b=ZHr5/UqDIPGoImH8WJIYsQ3FSKrwxiONe27MkXPCcihDfDXc1lc6yjZC69GmE99Ja4 QHgt3s3hgFH5pt6jmPhRlGv2RTu4WXLjxAUDYOAO1GUpVVXKtLKls9Rzk/6tALG9xDJX QECPL2UMeWtvUqNQbMTe+8xdJHq22tWlbVtCcqqyyb+Z3XhU2Y6Hotx+10NH8o4+62rY 5No0RHXi8KBy2N2+9CL93UEhS96MTeynTOrkd++43o4pYtGGLWtx7zSXnQT0eoW6aowq qW0fWn8aa3kZ58v70XtSDo8bjezo+0I9JfPGlRt11052+ZH2AbB/FsxZDlsCFKEER4Pt vBeg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=u9Xrz0FnIKHzAwooYeVi5qrIb3h8qKG2ut73TdZBym8=; b=CMkI3pKfaXrYb2sMv/I8vp5uXR3jMjkF3L8Pzp/st2GLHvUI6yYb7wei0VCUuC878j HgFa/NRzmFrv4lknFIpuB9AgsCEkIetPM0i2QG5Tr3wp4iy3F1ZPgjhGWW+rbBM73R/B rhShhGf8Jv9wW5r7sXJZqtXJHbOorDwgotWkIOyXEidGeleBJIkDn8Hh2z3ccP1JN0Dk j2Xb3o3dP5/X5L1UA84xxD1cMd+1PNBIQeu4kLIn3P/lBLPnYrPG1p2xlshJp8MNa//d opXMx9whvc6cRv8dEutjSoJK2IysQiM1gHVwsvHS9pvOqc6eFyc14hyaOV8OKEScE4Uh HHLA== X-Gm-Message-State: AD7BkJL0ww7/wxIDEzmSu8WpqTCHzjLjQDuFM7v1jLXWMlc8KBRMNwTZFtF1TuihqJSmoGwHP2Vnr5W6ONywdw== X-Received: by 10.25.81.144 with SMTP id f138mr7851501lfb.146.1458397618649; Sat, 19 Mar 2016 07:26:58 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:4010:c07::22d X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:201865 Archived-At: --001a114080c0004340052e67a819 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Paul Pogonyshev schrieb am Sa., 19. M=C3=A4rz 2016 u= m 13:26 Uhr: > And to make it even weirder (from `dash.el'): > > (defalias '-first-item 'car > "Return the first item of LIST, or nil on an empty list.") > > (subr-arity (symbol-function '-first-item)) =3D> (wrong-type-argume= nt > subrp car) > This at least can be made to work by using indirect-function instead of symbol-function. --001a114080c0004340052e67a819 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable --001a114080c0004340052e67a819--