On 04/04/2015 04:00 PM, Waldek Hebisch wrote:
> I think that categories should make only minimal requirements on
> parameters.  So it is natural to generalize TableAggregate to
> require only Type on first parameter.  Some operations may be
> conditional, for example 'removeDuplicates' assumes notion of
> equality, so it make sense to require BasicType.

OK.

> Specific domains should make suitable restrictions on parameters,
> depending on what they need.

So the first natural thing is to generalize

Eltable(S : SetCategory, Index : Type) : Category == with

to

Eltable(S : BasicType, Index : Type) : Category == with

 
https://github.com/hemmecke/fricas/blob/master-hemmecke/src/algebra//aggcat.spad#L797

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