Re: Understanding the later function

2014-07-29 Thread Alexander Burger
Hi Srini, I read both of these references before, but am struggling to apply. From the first one:     Functions with controlling expressions are case, casq, prog1, prog2,     and the bodies of *Run tasks.     Functions with conditional expressions are and, cond, do, for, if, if2, ifn,

Understanding the later function

2014-07-28 Thread S Pico
I am trying to understand this example from the reference: (prog1 # Parallel background calculation of square numbers (mapcan '((N) (later (cons) (* N N))) (1 2 3 4)) (wait NIL (full @)) ) Could you please explain how it works, because it has many interrelated pieces: cons,mapcan, wait that

Re: Understanding the later function

2014-07-28 Thread Alexander Burger
Hi Srini, I am trying to understand this example from the reference: (prog1 # Parallel background calculation of square numbers (mapcan '((N) (later (cons) (* N N))) (1 2 3 4)) (wait NIL (full @)) ) Could you please explain how it works, because it has many interrelated pieces:

Re: Understanding the later function

2014-07-28 Thread S Pico
Hi Alex, Thanks for the detailed reply. Pl. see my reply inline.. Srini - Original Message - From: Alexander Burger a...@software-lab.de To: picolisp@software-lab.de Sent: Monday, July 28, 2014 2:21:53 PM I am trying to understand this example from the reference: (prog1