Search found 4 matches

by haplo
Wed Oct 29, 2008 2:57 am
Forum: Common Lisp
Topic: non-linear list conversion to linear
Replies: 14
Views: 32330

Re: non-linear list conversion to linear

It works, thank you. I can't believe I made such a stupid mistake. Sorry to spam the forum with such imbecile questions but I needed this answer fast and didn't have the time to mess around with the code.
by haplo
Wed Oct 29, 2008 12:45 am
Forum: Common Lisp
Topic: non-linear list conversion to linear
Replies: 14
Views: 32330

non-linear list conversion to linear

Hello again, can you please help me with this? I've been working on it all night. What I want to do is to take a non-linear list and to convert it to linear. For example the list: (1 (2 (1 3 (2 4) 3) 1) (1 4)) should be made: (1 2 1 3 2 4 3 1 1 4). So far I've managed to produce half a result: (1 2 ...
by haplo
Mon Oct 27, 2008 8:42 am
Forum: Common Lisp
Topic: lisp program error
Replies: 8
Views: 20109

Re: lisp program error

Wow, you guys are great! It worked, but only after I made all modifications you specified. I really didn't expect answers to come in this soon (i didn't expect one at all actually). @Exolon: Thanx man, you saved my life, I would've never have spotted such a dumb mistake. Now that I got that to work ...
by haplo
Sun Oct 26, 2008 2:16 pm
Forum: Common Lisp
Topic: lisp program error
Replies: 8
Views: 20109

lisp program error

Hello! I'm currently working on a lisp program that should increment a number stored in a list through its digits by 1. I've written a module that recieves the reversed list and a carry flag but it won't even compile, so I can't tell if I'm on the right path or not. Can you please look at the code a...