I do not know if any of you have ran across this site
http://art2.ph-freiburg.de/Lisp-Course (to register you put in username and password in login area)
It's a basic beginners course to LISP
It checks your answers to see if they are correct, but I do not know if I am making functions that give correct answer but are poorly designed.
So here is the last one I did
MONOTON-ANSTEIGEND-P
Define a recursive predicate MONOTONIC-INCREASING-P, that has a number list as its argument. That predicate should test whether the numbers in the number list are in monotonic increasing order. This being the case, T is returned, otherwise NIL.
Examples:
(MONOTONIC-INCREASING-P '(1 2 5 7 9))
T
(MONOTONIC-INCREASING-P '(1 2 5 5 9 9))
T
(MONOTONIC-INCREASING-P '(1 2 5 3 9))
NIL
(MONOTONIC-INCREASING-P '())
T
Answer that was evaluated as correct
Is this Lispy?
(DEFUN MONOTON-ANSTEIGEND-P (NUMBERLIST)
(COND
((ENDP NUMBERLIST) T)
((ENDP (REST NUMBERLIST)) T)
((> (FIRST NUMBERLIST)(SECOND NUMBERLIST)) NIL)
(T (MONOTON-ANSTEIGEND-P (REST NUMBERLIST)))))
If anyone is a beginner and interested in doing some chapters maybe we could compare answers.