Search found 5 matches

by jrigler
Mon Apr 27, 2009 8:59 pm
Forum: Common Lisp
Topic: Archaic Code Contest in Common Lisp
Replies: 14
Views: 20079

Re: Archaic Code Contest in Common Lisp

So is it trivial to create an environment where you don't have the possibility of cheating? From what I understand you could add what you wanted to make available to a package and just tell people not to use anything outside of it. Seems like it should be ok to create macros. If you have someone wit...
by jrigler
Mon Apr 27, 2009 3:05 pm
Forum: Common Lisp
Topic: Question about intern and symbols
Replies: 10
Views: 14174

Re: Question about intern and symbols

Anyway, I believe this is one of those cases where asking "why do you want to do that" is warranted. In almost all cases for associating strings or symbols with values dynamically hash tables are better. I was interested in making a list of symbols that would be easy to manipulate as a li...
by jrigler
Sun Apr 26, 2009 9:59 pm
Forum: Common Lisp
Topic: novice question about CONS
Replies: 5
Views: 7432

Re: novice question about CONS

This may be of help if you haven't seen it:

CL-USER> (concatenate 'list (list 1 2 3)(list 4 5 6)(list 7 8 9))
(1 2 3 4 5 6 7 8 9)
by jrigler
Sun Apr 26, 2009 9:35 pm
Forum: Common Lisp
Topic: Rant: lisp is not C. Get over it.
Replies: 47
Views: 229948

Re: Rant: lisp is not C. Get over it.

I think the problem is that most people simply don't care. They code in whatever someone pays them to code in and probably do it rather poorly. It stands to reason that your average programmer is, well average, then you have your below-average programmers... If you are a fan of lisp, do you find oth...
by jrigler
Sun Apr 26, 2009 9:16 pm
Forum: Common Lisp
Topic: Question about intern and symbols
Replies: 10
Views: 14174

Question about intern and symbols

I want to generate and initialize a symbol dynamically in SBCL. If given I string "TEST", I want to evaluate to: (setf TEST 5) so far I am able to run: (intern "TEST") TEST but this doesn't work: (setf (intern "TEST") 5) The function (SETF INTERN) is undefined. I did ho...