Re: [Ecls-list] SLIME, WITH-OPEN-FILE: error in process filter: Wrong number of arguments: nil, 127
On Tue, Oct 30, 2012 at 2:41 AM, Matthew Mondor mm_li...@pulsar-zone.netwrote: With in swank-ecl.lisp: (defimplementation arglist (name) (let ((arglist (ext:get-annotation name :lambda-list nil))) (if (null arglist) :not-available arglist))) And your latest changes, it's very nice so far. The original code works for me just fine (defimplementation arglist (name) (multiple-value-bind (arglist foundp) (ext:function-lambda-list name) (if foundp arglist :not-available))) Does it not in your system? Juanjo -- Instituto de Física Fundamental, CSIC c/ Serrano, 113b, Madrid 28006 (Spain) http://juanjose.garciaripoll.googlepages.com -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct___ Ecls-list mailing list Ecls-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ecls-list
Re: [Ecls-list] SLIME, WITH-OPEN-FILE: error in process filter: Wrong number of arguments: nil, 127
On Tue, 30 Oct 2012 11:50:17 +0100 Juan Jose Garcia-Ripoll juanjose.garciarip...@gmail.com wrote: The original code works for me just fine (defimplementation arglist (name) (multiple-value-bind (arglist foundp) (ext:function-lambda-list name) (if foundp arglist :not-available))) Does it not in your system? I confirm it works fine again, thanks! -- Matt -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct ___ Ecls-list mailing list Ecls-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ecls-list
Re: [Ecls-list] SLIME, WITH-OPEN-FILE: error in process filter: Wrong number of arguments: nil, 127
On Tue, Oct 23, 2012 at 5:54 PM, Matthew Mondor mm_li...@pulsar-zone.netwrote: So I today had some time to do a small test and the following function indeed seems to work better in general. (defimplementation arglist (name) (let ((arglist (ext:get-annotation name :lambda-list nil))) (if (or (null arglist) (stringp arglist)) :not-available arglist))) I have fixed instead the ECL documentation database so that _all_ lambda lists are kept as lists, including those that describe the syntax of special operators. Please test and report whether this works for you. Juanjo -- Instituto de Física Fundamental, CSIC c/ Serrano, 113b, Madrid 28006 (Spain) http://juanjose.garciaripoll.googlepages.com -- WINDOWS 8 is here. Millions of people. Your app in 30 days. Visit The Windows 8 Center at Sourceforge for all your go to resources. http://windows8center.sourceforge.net/ join-generation-app-and-make-money-coding-fast/___ Ecls-list mailing list Ecls-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ecls-list
Re: [Ecls-list] SLIME, WITH-OPEN-FILE: error in process filter: Wrong number of arguments: nil, 127
On Sun, 21 Oct 2012 12:20:33 -0400 Matthew Mondor mm_li...@pulsar-zone.net wrote: On Sat, 20 Oct 2012 22:19:46 +0400 Stas Boukarev stass...@gmail.com wrote: The problem is that sys:function-lambda-list doesn't like macros or special operators anymore. Clearly, the name suggests that it takes functions, but it used to work on non-functions before this change: http://sourceforge.net/p/ecls/ecl/ci/b1ec23bce8a385251f14b278c080e22e459cc70f/tree/src/lsp/top.lsp?diff=8b1c6a203919bdfd6da989565e53bd149dad7e1b It's possible to use (ext:get-annotation operator :lambda-list nil), but it returns a string for LET (ext:get-annotation 'let :lambda-list nil) = (let ({var | (var [init])}*) {decl}* {form}*) Thanks for the details. Although I don't get errors for other common macros, I noticed that documentation is not shown for macros such as PUSH or PUSHNEW as well, which this also explains. So I today had some time to do a small test and the following function indeed seems to work better in general. (defimplementation arglist (name) (let ((arglist (ext:get-annotation name :lambda-list nil))) (if (or (null arglist) (stringp arglist)) :not-available arglist))) Thanks again, -- Matt -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct ___ Ecls-list mailing list Ecls-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ecls-list