How can I create a function that deletes all the element of a given list?
Is there a function that already does it, or should I create it? I thought to use recursion to delete the first element until the list is empty
I need not just to be shown but to be deleted, for example when I have a list called list1 defined as ((a 2) (b 3) (c 4)), I need a function that deletes it so I can fill it later with other elements.