Re: Do symbols need to be EQ?

2015-08-16 Thread Ben Hyde
> "Symbols that print the same USUALLY are EQ to each other because of the use > of the INTERN function." Unusual cases, eh?Are there example’s that don’t involve uninterned symbol’s? > (eq '#:zzz '#:zzz) nil > (flet ((f (&aux (*gensym-counter* 123)) (print (gensym (eq (f) (f))) #:g123

Re: :DBG

2013-11-18 Thread Ben Hyde
On Nov 18, 2013, at 3:58 AM, Pascal Costanza wrote: > asdf ... not a debugging or utilities library. Good news, uiop is a utility library While I think this is cute and it makes me chortle, I find it to be too cute. I think it "models a bad behavior." I don't want to have to fight back against

Re: unsubscribe

2013-10-03 Thread Ben Hyde
On Oct 3, 2013, at 4:44 PM, Ian Dalton wrote: > How do I unsubscribe from this list? I can't find a home page for it. I believe you send an email to: pro+unsubscr...@common-lisp.net

Re: assert / check-type / assure...

2013-09-22 Thread Ben Hyde
On Sep 22, 2013, at 11:24 AM, Faré wrote: >> (defmacro assocf (item alist &optional default &rest keys &key test test-not >> key) >> … > … side-effects ... Lispwork's has cdr-assoc, which works on places: http://www.lispworks.com/documentation/lw50/LWRM/html/lwref-618.htm See also https://co

Re: [pro] Lisp and DSLs

2011-07-22 Thread Ben Hyde
Is there an excel-hater's mailing list we could move this discussion to. :) ps - Is it possible to open the slime inspector on a stack frame or frames? ___ pro mailing list pro@common-lisp.net http://lists.common-lisp.net/cgi-bin/mailman/listinf

Re: [pro] definitional home

2011-03-30 Thread Ben Hyde
On Mar 29, 2011, at 6:08 PM, Bob Kerns wrote: While I can see advantages to having a form record where it came from, as you guys are describing, there's also a huge disadvantage -- the need to actually expand (and possibly evaluate) that macro, before being able to use meta-dot. I use tag

Re: [pro] definitional home

2011-03-28 Thread Ben Hyde
On Mar 28, 2011, at 11:14 AM, Mark H. David wrote: > Can you explain a bit what you mean by this? My example. Say I have a macro for defining widgets and I use it I define cool-widget on line N of file foo.lisp like so: (define-widget cool-widget ...) In the wonderful world which is my i

[pro] definitional home

2011-03-28 Thread Ben Hyde
On Mar 25, 2011, at 9:36 PM, Kazimir Majorinc wrote: > "DEFVAR and DEFPARAMETER do the combined service of > > - in some implementations, recording the "definitional home" of the > variable ... That reminds me; I desire an implementation independent library that abstracts out the recording of

Re: [pro] Style issue about predicates

2011-01-14 Thread Ben Hyde
On Jan 14, 2011, at 11:42 AM, Daniel Weinreb wrote: > If you have a function that is a predicate, in the sense that > the function's contract says that its value should be interpreted > as being either false or true, do you think it's better to code > it so that it always returns "t" for the true c

Re: [pro] (values) for for-effect functions

2010-12-02 Thread Ben Hyde
On Dec 2, 2010, at 6:00 PM, Daniel Weinreb wrote: > In case these terms are too old for anyone to know > them, we used to use the phrase "for effect" to > mean a function that was called for the sake > of its side-effects, ... > In some code I have seen, the author of the code > has written (valu

Re: [pro] When to use SLOT-VALUE...

2010-12-02 Thread Ben Hyde
On Dec 2, 2010, at 4:38 PM, David Owen wrote: > On Thu, 2 Dec 2010, Ben Hyde wrote: >> Anyhow. Recall that with-slots expands to slot-value. That leads >> me to wonder. Given that with-slots and slot-value are couple, why >> haven't I observed analogous couple (w

Re: [pro] When to use SLOT-VALUE...

2010-12-02 Thread Ben Hyde
On Dec 1, 2010, at 9:51 AM, Daniel Weinreb wrote: > The methods called by the callers (1) expect to find the object in a > consistent state, and (2) must leave the object in a consistent state > when they terminate, whether they terminate normally (return) or > abruptly (signal, return, throw, etc.