[Solved] Creating a method in Common Lisp

To create a function in common lisp you can use the defun operator: (defun signal-error (msg) (error msg)) Now you can call it like so: (signal-error “This message will be signalled as the error message”) Then you can insert it in your code like this: (print “Enter number”) (setq number (read)) ;; <- note that … Read more