On 10/21/2011 09:17 PM, Waldek Hebisch wrote:
I propose to change 'selectfirst' to 'first' and
'selectsecond' to 'second'.

I support it and would even change

makeprod     : (A,B) -> %

to

product: (A,B) -> %

since I don't like abbreviations in function names.

Or maybe even

pair: (A,B) -> %

would be a good name.

In fact, thinking about it. I would reserve "Product" for something that is not just the product of two things.

Anyway, I also question the existence of that domain at all. In fact, it's something that would be called Cross in Aldor + an extension of Cross to (conditionally) export all the categories that are given in Product. Oh, yes, sorry, that wouldn't work since I'd have to iterate the "has" operator over a tuple (the argument for Cross). So, fixed length is necessary for Product.

But then, why not calling it Pair and also have Triple and Quadruple as domains?

Ralf

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