Does anyone know about LISP Programming
I am trying to make this program where I have 3 types of cars, which are ford bmw merc
ford has focus and fiesta BMW has 1series and 2series and the merc has SK100 and SK200
well basically i am trying to put them in the correct list for example focus will go into ford list and SK100 will go to the merc list.
the keyword here is sorted, so the cars r sorted to the correct list.
at the moment to store the data i will use defparameter
example
(defparameter *cars* ' ( focus fiesta 1series 2series SK100 SK200))
so now i want to create a funtion where the cars will go into the correct list. so fiesta will go and focus will go to the ford list.
so bascially I need to sort these cars out so they will be sorted to the correct list and to run it i will want to use defun
(test-a-car 2) the 2 means 2 cars a list so then it will display the cars in the correct list.
if u have any idea please help, cos i have no idea, so i would be so grateful if anyone could help ;)