On 3 February 2015 at 07:41, Ralf Hemmecke <[email protected]> wrote:
>
> In fact, also the treatment of scripted symbols in Symbol is somewhat
> strange. It encodes the numbers of sub/super/presuper/presub scripts
> into the name of the symbol, and then concats all scripts into a flat
> list. Why not storing something like script('a, [[x1,x2],[y1],[z1,z2]]) as
>
>   (a (x1 x2) (y1) (z1 z2))
>
> ? If that is a performance issue when comparing symbols then we should
> think of creating a hashtable for scripted symbols (indexed by Lisp
> symbols). So all elements of Symbol are lisp symbols but some of them
> appear in the hash table and would have to be translated into scripted
> symbols at output time.
>

How would you propose to assign a value to something like

  (a (x1 x2) (y1) (z1 z2))

Isn't assigning a value something you can only do to a symbol in Lisp?

-- 
You received this message because you are subscribed to the Google Groups 
"FriCAS - computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/fricas-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to