sign non-forgetfulness



Stavros,

Thanks for the information. Since a user doesn't always know when or
how sign gets called, using sign requires care. I didn't know that.


(%i5) f(x) := (compare(1/x,0),0)$

(%i6) [sign(x),f(x), sign(x)];
(%o6) [pnz,0,pn]

--Barton

-----macrakis at gmail.com wrote: -----


>Barton,
>The?scope?of?temporary?facts?is?by?default?one?command-line?interaction.
>This?is?definitely?intentional!??You?don't?want?to?ask?the?user?the?same
>thing?multiple?times,?especially?since?she/he?doesn't?have?any?context?to
>determine?what?they?mean!