Wiki: Using 'edit'

2011-07-27 Thread Alexander Burger
Hi all, under Documentation in the wiki, I wrote an In Detail article about the 'edit' function: http://picolisp.com/5000/-2-1j.html [On Browsing the Database or Arbitrary Data Structures and Definitions] Hope it is useful :) Cheers, - Alex -- UNSUBSCRIBE:

difference between (let) and (bind)

2011-07-27 Thread Edwin Eyan Moragas
Hi list, looking at the docs, looks like (bind) is just a fancy way of doing (let). is this correct? i tried looking at the source but i'm still trying to decipher it. also checked out wl.java. both (let) and (bind) are quite similar. is this so? /e -- UNSUBSCRIBE:

Re: Wiki: Using 'edit'

2011-07-27 Thread Tomas Hlavaty
Hi Alex, article about the 'edit' function: http://picolisp.com/5000/-2-1j.html brilliant, thank you! Now I just need to learn vi:-D Tomas -- UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe

Re: difference between (let) and (bind)

2011-07-27 Thread Edwin Eyan Moragas
Hi Tomas, On Thu, Jul 28, 2011 at 1:27 AM, Tomas Hlavaty t...@logand.com wrote: Hi Edwin, roughly speaking, bind is a function while let is a macro.  They differ in argument evaluation.  bind is programmable while let is more of a syntax thingy. thank you for this. thinking about it a bit,

Re: difference between (let) and (bind)

2011-07-27 Thread Tomas Hlavaty
Hi Edwin, thinking about it a bit, i can just do away with one and live with the other? say, can i just live with (bind)? yes, but it is more convenient to write let in your programs instead of the bind with constructing the binding list manually. However, in certain situations, one needs an

Re: difference between (let) and (bind)

2011-07-27 Thread Edwin Eyan Moragas
On Thu, Jul 28, 2011 at 4:48 AM, Tomas Hlavaty t...@logand.com wrote: Hi Edwin, thinking about it a bit, i can just do away with one and live with the other?  say, can i just live with (bind)? yes, but it is more convenient to write let in your programs instead of the bind with constructing

Re: pilog dcg with args

2011-07-27 Thread Doug Snead
Hi Alex, Thanks for the picolisp pointers :-) The sub? shrinks down one of the awkward bits there. Unfortunately, I didn't see sub? in miniPicoLisp. The replace seems like a better idea than using the surgical patch there - probably not a good idea to modify a list passed in as an argument