[Openmcl-devel] Lambda List Troubles

Pascal Costanza pc at p-cos.net
Thu Nov 9 15:43:20 UTC 2006


No, it's a problem. You are using 't as variable names, but you're  
not allowed to do that because t is a predefined constant in Common  
Lisp.

Pascal

On 9 Nov 2006, at 16:24, Ben Hyde wrote:

> I suspect this is a bug.
>
> * 558$ echo "(defclass foo () ()) (defgeneric alpha (foo t t))
> (quit)" | openmcl -n -Q --batch
> #<STANDARD-CLASS FOO>
>> Error: Bad generic function lambda list: (FOO T T)
>> While executing: CCL::CHECK-GENERIC-FUNCTION-LAMBDA-LIST, in
> process listener(1).
>> Type :POP to abort, :R for a list of available restarts.
>> Type :? for other options.
>
> That works in sbcl[1].
>
> The results of  (ccl::verify-lambda-list '(float string fixnum)) v.s.
> (ccl::verify-lambda-list '(float string string)) don't look right
> either.
>
>   - ben
>
>
> [1]
> 557$ echo "(defclass foo () ()) (defgeneric alpha (foo t t)) (quit)"
> | sbcl --no-userinit
> This is SBCL 0.9.16, an implementation of ANSI Common Lisp.
> More information about SBCL is available at <http://www.sbcl.org/>.
>
> SBCL is free software, provided as is, with absolutely no warranty.
> It is mostly in the public domain; some portions are provided under
> BSD-style licenses.  See the CREDITS and COPYING files in the
> distribution for more information.
> *
> #<STANDARD-CLASS FOO>
> *
> #<STANDARD-GENERIC-FUNCTION ALPHA (0)>
> _______________________________________________
> Openmcl-devel mailing list
> Openmcl-devel at clozure.com
> http://clozure.com/mailman/listinfo/openmcl-devel

-- 
Pascal Costanza, mailto:pc at p-cos.net, http://p-cos.net
Vrije Universiteit Brussel, Programming Technology Lab
Pleinlaan 2, B-1050 Brussel, Belgium







More information about the Openmcl-devel mailing list