Guest User

Untitled

a guest
May 18th, 2020
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lisp 0.37 KB | None | 0 0
  1. ;; Input....
  2.  
  3. (defun f (i l)   (loop for i in l do (print i)))
  4. (print "Here is output of function f call....")
  5. (f 'k '(1 2 3 4))
  6.  
  7. (defun g (i l c) (loop for i in l do c))
  8. (print "Here is output of function g call....")
  9. (g 'z '(5 6 7 8) '(print z))
  10.  
  11. ;; Output....
  12.  
  13. "Here is output of function f call...."
  14. 1
  15. 2
  16. 3
  17. 4
  18. "Here is output of function g call...."
Add Comment
Please, Sign In to add comment