Title: FreeCode Signature
David A. Wheeler wrote:
Egil Möller:
When I wrote sugar/I-expressions, I realized the need for having a list
as the first item in another list, but that it was only used in let...
It would be trivial to introduce a new macro := that only allows one
assignment, and has the form (:= (variable value) _expression_), which
would result in the following I-_expression_ for the above code:
which is actually even ugglier!
Why not just define an ordinary macro "let1", of the form (let1 variable value expressions*)? It would define a new variable, assign it value, and then run expressions with the variable in scope.
That is just a rename of my := macro! That was my initial idea, the
read-macro stuff where just different extensions that I wanted to
compare!
:= foo 1
:= bar (+ 4 5)
* foo bar
there you have your better name than let1 :P
--
Konsulent, Fri Programvare / Free Software Consultant
Cell: +47 - 91 17 05 93
Phone: +47 - 21 53 69 00, Fax: +47 - 21 53 69 09
Addr: Slemdalsveien 70, PB 1
Vinderen, 0319 Oslo

Free beer costs nothing, freedom costs a fight.
Free beer lasts an eavening, freedom lasts a lifetime.
|
signature.asc
Description: OpenPGP digital signature