2 ms·
And for number #5 you don't even need to write a function. Why not just use reverse? And notice his indentation and closing of parens is all wrong (i.e. not L
by felideon 18y ago
And for number #5 you don't even need to write a function. Why not just use reverse? And notice his indentation and closing of parens is all wrong (i.e. not Lisp style). He's writing Lisp code thinking in a another language[1].
It's still a good exercise to go through them all as a Lisp newb like myself when I'm bored or need a break.
[1] Programming language, not Portuguese. :)
- zitterbewegung 18y agoWell using reverse sort of misses the point. You are supposed to implement reverse.