I find this construction

https://github.com/fricas/fricas/blob/master/src/algebra/aggcat.spad#L97

HomogeneousAggregate(S : Type) : Category == Aggregate with
   ...
   if % has shallowlyMutable then
     map! : (S->S, %) -> %
   if % has finiteAggregate then
      if S has BasicType then BasicType
      any? : (S->Boolean, %) -> Boolean
   ...

rather interesting.

These has-forms certainly can only evaluate to true in a context where

  Dom: Join(HomogeneousAggregate(X), finiteAggregate, ...) ===

I had probably introduced

  FiniteHomogeneousAggregate(X...): Category ==
    Join(HomogeneousAggregate(X), finiteAggregate, ...) with

and put the signatures that appear above in an if condition into this
more specialized category FiniteHomogeneousAggregate without condition.

Ralf

-- 
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