Search found 4 matches
- Wed Nov 17, 2010 10:08 am
- Forum: Common Lisp
- Topic: How deep is a list?
- Replies: 4
- Views: 9675
Re: How deep is a list?
First of all, thanks for an answer, I'm trying really to figure this out. I have to deliver this to my teacher at monday. Ok, so far I've done this: http://img204.imageshack.us/img204/5025/lisp2.jpg And then when I try to f.ex type a list like: (ld '( ( ) ( ( ) ( ) ) ( ( ( ( ) ) ) ) ) I get an error...
- Wed Nov 17, 2010 4:20 am
- Forum: Common Lisp
- Topic: How deep is a list?
- Replies: 4
- Views: 9675
How deep is a list?
Hi everyone :) I have a little task I'm wondering about. Because I'm suppose to figure out, how deep a list is. Lets say f.ex a function like: ( ( ) , ( ( ) ( ) ) , ( ( ( ( ) ) ) ) ) And I figure out this list should be like "4" or something. I've set the function like this: (defun ld (x) ...
- Mon Sep 27, 2010 11:27 am
- Forum: Common Lisp
- Topic: How to comare this string?
- Replies: 4
- Views: 4223
Re: How to comare this string?
Well, you might have a point. But I'm really trying to solve this. Its just that, when you don't have the basic experience in this type of programming, its kind of hard to figure it out. The reason why I don't have any basic experience, is because I just added this subject to fill my schedule. And n...
- Mon Sep 27, 2010 9:27 am
- Forum: Common Lisp
- Topic: How to comare this string?
- Replies: 4
- Views: 4223
How to comare this string?
This should maybe be a simple task, but I do have some problem understanding the function and what to insert. Yes, this is an obligatory task I have to deliver by Friday this week, but I can ask anybody about help, except my teacher will of course not tell me the answer. Therefore I’ll try to ask ...