[Bese-devel] Re: Another parenscript issue

Marco Baringer mb at bese.it
Mon Nov 27 14:19:00 UTC 2006


"Marijn Haverbeke" <marijnh at gmail.com> writes:

> CL-USER> (js:js* '(- 2))
> "2;"
>
> For + you can say that (+ x) = x, but for - this obviously doesn't hold.

does this work:

CL-USER> (js:js* '(- 4))
"-4;"
CL-USER> (js:js* '(+ 4))
"+4;"
CL-USER> (js:js* '(/ 4))
"/4;"
CL-USER> (js:js* '(* 4))
"*4;"
CL-USER> 

or do we want to be smart and special case just - ?

-- 
-Marco
Ring the bells that still can ring.
Forget your perfect offering.
There is a crack in everything.
That's how the light gets in.
	-Leonard Cohen




More information about the bese-devel mailing list