Search found 2 matches

by MurderThyLamb
Mon Apr 14, 2014 11:47 pm
Forum: Common Lisp
Topic: DEFGENERIC with DECLARE statements?
Replies: 4
Views: 9151

Re: DEFGENERIC with DECLARE statements?

Thank you, that certainly cleared it up. The fact that it still compiles in Common Lisp (at least Clozure CL) is interesting, I'll have to check for any side effects. Could be slightly useful for documentation, like you pointed out.
by MurderThyLamb
Thu Apr 10, 2014 7:07 pm
Forum: Common Lisp
Topic: DEFGENERIC with DECLARE statements?
Replies: 4
Views: 9151

DEFGENERIC with DECLARE statements?

I was looking through some of the code for Open Genera, and I came across something I've never seen before: (defgeneric console-function-keys-enabled (console) (declare (values (or boolean (list character))))) (defgeneric console-function-key-enabled-p (console &optional ch) (declare (values ena...