Search found 3 matches

by zgljosh
Tue Mar 13, 2012 8:48 pm
Forum: Common Lisp
Topic: Strange Behavior: functions not work for a list/cons
Replies: 4
Views: 6238

Re: Strange Behavior: functions not work for a list/cons

This issue is resolved by your replies. Thanks, Rarmarren and Edgar!
by zgljosh
Mon Mar 12, 2012 8:00 pm
Forum: Common Lisp
Topic: Strange Behavior: functions not work for a list/cons
Replies: 4
Views: 6238

Strange Behavior: functions not work for a list/cons

For this form (cons 'a (cons 'chicken 'cat)) (consp (cons 'a (cons 'chicken 'cat))) returns T (listp (cons 'a (cons 'chicken 'cat))) returns T (list-length (cons 'a (cons 'chicken 'cat))) throws error CAT is not of type list nth 0, nth 1 works but nth 2 gives the same error It seems contradictory to...
by zgljosh
Mon Feb 27, 2012 10:40 pm
Forum: Common Lisp
Topic: RayTracer Sample Code
Replies: 0
Views: 4760

RayTracer Sample Code

I followed the famous Alexander Lehmann's ray tracer tutorial but unable to get the code to generate the PNG file as demonstrated in the show. Anybody can share the code which works? I have my code uploaded at http://www.youtube.com/watch?v=ksaM14iWFg0&feature=mfu_in_order&list=UL However, t...