I am new to LISP and was wondering how to correctly run a simple lisp program on Ubuntu Linux. Currently, I have a LISP file called “intmax.lisp” that contains the following code: (defun intmax (x y) (if (> x y) x y)) However, when I go to the command line and run: clisp intmax 2 4 To compare 2 and
Tag: lisp
extracting a n element from a list with dolist on lisp
I am trying to create a function where it takes a list of letters as parameter and a single letter as a parameter. I want to remove the single letter from the list. so if I call the function with (extract-all ‘n ‘(i n t e l l)), I want it to return i t e l l with the