I cannot check right now whether it's possible, but maybe it would be good
to eliminate ** completely, and define a macro or a package that calls ^
when one types **.

There are some people who come from reduce, and some circumstances where
** is preferable.  (I had a few occasions where ^ did not work on my
keyboard, for example).

IN case of doubt: yes, get rid of **

Martin


On Fr, 29.08.2008, 22:51, Bill Page wrote:
>
> On Fri, Aug 29, 2008 at 4:32 PM, Gabriel Dos Reis wrote:
>>
>> Certainly removal is best is you're confident that it does not cause
>> hassle for users.  Do you have a count of the uses of "**" versus "^"
>> in the algebras?  That may give some idea.
>>
>
> Just to get a rough idea I did:
>
> [EMAIL PROTECTED]:~/open-axiom-src/src/algebra# cat *.spad.pamphlet | sed
> 's/\w/\n/g' | grep '\*\*' | wc
>    2139    2667   10777
> [EMAIL PROTECTED]:~/open-axiom-src/src/algebra# cat *.spad.pamphlet | sed
> 's/\w/\n/g' | grep '\^' | wc
>     659     705    2482
>
> So there are about 3 times a many uses of ** then ^ in the algebra.
> Certainly keeping people happy might be a problem - and also checking
> for regressions.
>
> Still, I personally would prefer the universal use of ^ for exponents
> and related operations.
>
> Regards,
> Bill Page.
>
> >
>
>



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"FriCAS - computer algebra system" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/fricas-devel?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to