[GAP Forum] Collections of Tuples

chris beck render787 at gmail.com
Sat May 9 04:01:06 BST 2009


Can somebody please explain to me why this returns false?

gap> IsTuple(Tuples([1,2],2)[1]);
false

Is this a glitch or something? It took me a really long time to figure
out that Tuples did not return a collection of tuples, and if there's
no good reason that it doesn't, it would save a lot of people some
headaches if the return type of this were changed.

Thanks,
Chris



More information about the Forum mailing list