fork download
  1. (defun product-and-quotient (x y)
  2. (if (zerop y)
  3. (error "'Y' mustn't be a zero"))
  4. (list :product (* x y) :quotient (/ x y)))
  5.  
  6. (format t "answer is: ~a~%" (product-and-quotient 10 2))
Success #stdin #stdout 0.03s 10584KB
stdin
Standard input is empty
stdout
answer is: (PRODUCT 20 QUOTIENT 5)