Search found 30 matches

by hewih
Thu Feb 25, 2010 1:45 pm
Forum: Common Lisp
Topic: [cells] don't evaluate drifter on make-instance
Replies: 3
Views: 3889

Re: [cells] don't evaluate drifter on make-instance

> The rule for the drifter cell has to be ran on instance creation so that its dependencies can be established. is there a way to define the dependencies without running the body so i can totally avoid the ephemeral NIL value check and not only hide it away? thanks for the macro snippet! > And in an...
by hewih
Thu Feb 25, 2010 12:11 pm
Forum: Common Lisp
Topic: [cells] don't evaluate drifter on make-instance
Replies: 3
Views: 3889

[cells] don't evaluate drifter on make-instance

i have an ephemeral cell which is NIL and a drifter cell which depends on the ephemeral cell. my problem is that the body of the drift cell gets evaluated when the class is instantiated. thus i always have to check the ephemeral against NIL. is there a way to avoid evaluating the drift body on class...
by hewih
Mon Feb 22, 2010 11:57 am
Forum: Emacs
Topic: Uncomment Line/Region
Replies: 3
Views: 10877

Re: Uncomment Line/Region

sorry, had to be more specific. i use Lisp Works and there is no uncomment region comment even though it's very closely related to Emacs.
by hewih
Mon Feb 22, 2010 11:26 am
Forum: Emacs
Topic: Uncomment Line/Region
Replies: 3
Views: 10877

Uncomment Line/Region

how do you do that?
i don't really know what the manual means by "negative argument". if i do C-u -4 M-x comment-region, i get an error. and besides that... it's a long-cut.
by hewih
Sat Feb 13, 2010 2:58 pm
Forum: Common Lisp
Topic: How do I know where error is occured?
Replies: 5
Views: 5068

Re: How do I know where error is occured?

finding the error section is my hardest problem currently too
in LispWorks you can use the debugger and click at the stack calls ("Subfunction 17")
i also use a mix of (format T "i am here"), (break "description of break") and backtrace
by hewih
Sun Feb 07, 2010 4:51 pm
Forum: Common Lisp
Topic: c-input and with-integrity question (cells)
Replies: 4
Views: 5160

Re: c-input and with-integrity question (cells)

i'm registered and got the confirmation mail. when i send a email to myself the sender field appears empty, that's probably it.
by hewih
Sun Feb 07, 2010 3:41 pm
Forum: Common Lisp
Topic: drifter cell for class types (cells)
Replies: 4
Views: 5175

Re: drifter cell for class types (cells)

i'm more like finding out how to uncomment regions, trim whitespaces and move the cursor to the last position at the moment, hahaha! :lol:
by hewih
Sun Feb 07, 2010 3:37 pm
Forum: Common Lisp
Topic: c-input and with-integrity question (cells)
Replies: 4
Views: 5160

Re: c-input and with-integrity question (cells)

"ignore c-input and only use :change, got it!" :) > cells-devel mailing list i've tried using some of those mailing lists (cells, gsll, lispbuilder-sdl). i sent my emails with e4ward.com email forwarders to prevent spam and preserve anonymity but for some reason the emails don't arrive the...
by hewih
Sun Feb 07, 2010 3:28 pm
Forum: Common Lisp
Topic: drifter cell for class types (cells)
Replies: 4
Views: 5175

Re: drifter cell for class types (cells)

24min, you were too fast this time -.- > C-VALUE-INCF generic function cool, thanks! :D > What's with the hanging parentheses? from the Stack Overflow article: (defvar *persons* (list (make-person "fred") (make-person "jane") (make-person "susan) )) i use this construct for ...
by hewih
Sun Feb 07, 2010 3:17 pm
Forum: Common Lisp
Topic: call function on all combinations of a list
Replies: 4
Views: 5163

Re: call function on all combinations of a list

oh how unfair! i WAS checking http://www.cliki.net/Library first for: iteration, mapping and combination utilities but Alexandria isn't listed. thanks Ramarren! :) > Ramarren: remember to limit the list of objects using a spatially aware data structure thanks for the hint, but i just need a small bu...