Why Random can not be an attribute in GAP?
What will happen if we will declare Random
as an attribute? Let’s try!
First we will create new attribute MyRandom
for objects in the category IsCollection
:
MyRandom := NewAttribute("MyRandom", IsCollection);
Now we install a generic method (more…)