2000-11-30 03:59:08 +0000 <rahul> he also invented Java...
2000-11-30 03:59:21 +0000 <washort> and NFS...
2000-11-30 03:59:30 +0000 <walkah> is there a way in CL to access a specific list element?
2000-11-30 03:59:37 +0000 <washort> so the question remains, why is this guy still alive?
2000-11-30 03:59:40 +0000 <washort> walkah: nth
2000-11-30 03:59:57 +0000 <walkah> washort: (nth ) ?
2000-11-30 03:59:59 +0000 <washort> if you're using it a lot you may want to consider vectors
2000-11-30 04:00:16 +0000 <washort> walkah: to get the 14th element in list foo, (nth 14 foo)
2000-11-30 04:00:42 +0000 <washort> you can also use (first foo), (second foo), (seventh foo), etc for the first ten i think
2000-11-30 04:00:51 +0000 <rahul> remember nth is O(n), aref is O(1)
2000-11-30 04:01:07 +0000 <walkah> washort: it's for a class assignment where optimization is not a real concern...
2000-11-30 04:01:11 +0000 <walkah> although...
2000-11-30 04:01:15 +0000 <washort> walkah: do it right anyway. :)
2000-11-30 04:01:27 +0000 <walkah> well... ok then, my next question is...
2000-11-30 04:01:52 +0000eihrul(Leaving)
2000-11-30 04:01:58 +0000 <walkah> what's an easy way to generate an array of sympols a - j?
2000-11-30 04:02:08 +0000 <walkah> er symbols even
2000-11-30 04:02:26 +0000 <walkah> basically i wand '(a b c d e f g h i j) as an array
2000-11-30 04:02:38 +0000 <walkah> want too
2000-11-30 04:02:51 +0000 <rahul> walkah: replace the ' with #
2000-11-30 04:03:01 +0000 <walkah> rahul: god i love lisp :)
2000-11-30 04:03:09 +0000 <rahul> hehe
2000-11-30 04:03:17 +0000 <walkah> still trying to make the conversion from scheme tho :P
2000-11-30 04:04:22 +0000 <washort> rahul: hmm, i didnt realize CL did that. interesting
2000-11-30 04:04:39 +0000 <rahul> sharpsign macros are godly
2000-11-30 04:05:09 +0000 <washort> true dat
2000-11-30 04:05:35 +0000 <washort> reader macros are even more fun :)
2000-11-30 04:05:43 +0000 <rahul> amen!
2000-11-30 04:06:16 +0000 <washort> hmm
2000-11-30 04:06:17 +0000 <walkah> CL's interpreter is much nicer than mit-scheme's too :)
2000-11-30 04:06:35 +0000 <washort> who's this guy on the vapour list saying he needs CVS working by friday?
2000-11-30 04:06:38 +0000 <rahul> washort: which implementatoin?
2000-11-30 04:06:45 +0000 <rahul> washort: probably lambda
2000-11-30 04:06:56 +0000 <washort> ah.
2000-11-30 04:07:18 +0000yinzenis back