repositories
/
TD_LISP.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix the recursive optimized power calculation
[TD_LISP.git]
/
exercices
/
lists.lsp
diff --git
a/exercices/lists.lsp
b/exercices/lists.lsp
index 6bf12a5e7a1e1803016fd4b6bc1e3d03b33b8c1a..35590dada335ff070e4a9546859cdafbe8777b1c 100755
(executable)
--- a/
exercices/lists.lsp
+++ b/
exercices/lists.lsp
@@
-169,7
+169,7
@@
((append
;the pivot is the first element of the list
(qsort (list< (first L) (rest L)))
- (
cons (first L) '())
+ (
list (first L))
(qsort (list>= (first L) (rest L)))))))
(println "qsort")
(println (qsort C))