Re: How to write let in idiomatic PicoLisp?

2011-01-19 Thread Evan R. Murphy
Hi Alex, Thank you for writing such a thorough reply. I really learned a lot from it= ! :) PicoLisp's direct-style with fexprs is so different from the quasiquotation-style with macros I'm used to from other lisps. I was impressed by the conciseness of your revision: > =C2=A0 (de mylet "Args" >

Re: How to write let in idiomatic PicoLisp?

2011-01-19 Thread Evan R. Murphy
> (de mylet ("Val" "Var" . "Args") > =C2=A0=C2=A0 =C2=A0(bind (cons (cons "Val" (eval "Var"))) > =C2=A0=C2=A0 =C2=A0 =C2=A0 (run (cddr "Args")) ) ) Sorry, that should have read: (de mylet ("Val" "Var" . "Body") (bind (cons (cons "Val" (eval "Var"))) (run "Body") ) ) Now it's even shorte

Re: Announce: Some sensitive changes

2011-01-19 Thread dexen deVries
On Tuesday, January 18, 2011 06:02:30 pm you wrote: > after some lengthy discussions in IRC today, we decided to change some > sensitive features of the PicoLisp interpreter environment: >=20 > 1. On the command line, debug mode can now enabled by appending a single >'+' argument. This '+' will

Re: Announce: Some sensitive changes

2011-01-19 Thread Jon Kleiser
Hi Alex, I welcome #2, *Tsm off by default. /Jon On 18-01-11 18:02 , Alexander Burger wrote: Hi all, after some lengthy discussions in IRC today, we decided to change some sensitive features of the PicoLisp interpreter environment: 1. On the command line, debug mode can now enabled by append

Re: How to write let in idiomatic PicoLisp?

2011-01-19 Thread Alexander Burger
Hi Evan, > (de mylet ("Val" "Var" . "Body") >(bind (cons (cons "Val" (eval "Var"))) > (run "Body") ) ) > > Now it's even shorter! ^_^ Yes, you are right that it would sometimes be nice to have parameters for unevaluated arguments. As ever, this is a tradeoff between features and simpli

Re: How to write let in idiomatic PicoLisp?

2011-01-19 Thread Evan R. Murphy
Hi Alex, > Just for completeness: You probably meant the two variables "Val" and > "Var" exchanged (as the variable is the first argument), and the second > arg won't need to be evaluated if specified as a normal evaluating > parameter. Yes, you're right! My mistake: thanks for catching that. Ev

Re: Announce: Some sensitive changes

2011-01-19 Thread Alexander Burger
Hi Jon, > I welcome #2, *Tsm off by default. Good to hear! I like most #1, the '+' debug mode switch :) Cheers, - Alex -- UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe