Search found 7 matches

by junket
Thu Aug 12, 2010 8:09 am
Forum: Common Lisp
Topic: Loading Screamer
Replies: 3
Views: 3566

Re: Loading Screamer

Hi Ramarren,

I tried the version you linked also.

No luck with it, so I think I'll try to run it on SBCL for windows and see how I get on.

Cheers
by junket
Thu Aug 12, 2010 4:28 am
Forum: Common Lisp
Topic: Loading Screamer
Replies: 3
Views: 3566

Loading Screamer

Hello, I have been trying to load Screamer (http://www.cl-user.net/asp/ys9U/sdataQIIk8RWlCNhODQ3jQRpX8yBX8yBXnMq=/sdataQu3F$sSHnB==) in order to work with constraints in CL. However I am having trouble loading the package. I am using the free edition of allegro cl 8.2 When I first tried to compile a...
by junket
Tue Feb 09, 2010 3:51 pm
Forum: Common Lisp
Topic: beginner's question on loops / s-expressions
Replies: 2
Views: 3229

Re: beginner's question on loops / s-expressions

thanks a million.
that's really helpful. :D
i was barking up the wrong tree entirely.
i never understood that about cons when only using recursion.
thanks again!
:D :D
by junket
Tue Feb 09, 2010 3:05 pm
Forum: Common Lisp
Topic: beginner's question on loops / s-expressions
Replies: 2
Views: 3229

beginner's question on loops / s-expressions

hi, this is a very basic question. i've been trying to experiment with iterations, but cannot figure out how to return following an iteration, outside the iteration. for instance, if i want to find the list of factors for a number, i might define it recursively as follows: (defun foorec (n) (reverse...
by junket
Fri Jan 01, 2010 12:04 pm
Forum: Common Lisp
Topic: Beginners question on eg in Practical Common Lisp
Replies: 6
Views: 6131

Re: Beginners question on eg in Practical Common Lisp

Great thanks a million! I much appreciate that explanation. You've been very helpful. (I'm presuming it's not best style to return nil as a base case for recursions as tail-end recursion is favoured to building up and returning a stack. (That's at least what I gathered from the tutorial I looked at.))
by junket
Fri Jan 01, 2010 8:23 am
Forum: Common Lisp
Topic: Beginners question on eg in Practical Common Lisp
Replies: 6
Views: 6131

Re: Beginners question on eg in Practical Common Lisp

Thank you to both of you for your help. The question I was trying to ask was why the T returns for the default NIL &key parameters were "trivial", but I did not express myself very clearly. As far as I can now see, it is simply because: (remove-if-not #'(lambda (cd) t) *db*) returns *d...
by junket
Thu Dec 31, 2009 5:17 am
Forum: Common Lisp
Topic: Beginners question on eg in Practical Common Lisp
Replies: 6
Views: 6131

Beginners question on eg in Practical Common Lisp

Hello all, I am new here, and also new to lisp. After a brief online tutorial I am looking at Practical Common Lisp. However I have quite quickly been presented with something that I cannot quite understand. I am referring to the query function in chapter 3 (a simple database.) I do not understand h...