Advertisement
Guest User

atc-

a guest
Jan 26th, 2012
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. (def a '())
  2. (def b '(1 2 3))
  3. (def c '(4 5 6))
  4.  
  5. ; I want to produce the following but not adding nils to a. In the example above this doesn't happen because b and c are exhausted at the same time -- I but last in a loop on b and c -- so please imagine each line below is the output of a loop/recur:
  6.  
  7. ; (6 3) (1 2) (4 5)
  8. ; (5 2 6 3) (1) (4)
  9. ; (4 1 5 2 6 3) nil nil
  10. ; (4 1 5 2 6 3)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement