darn :=
This commit is contained in:
parent
4523bcb831
commit
c875b56426
@ -20,12 +20,12 @@ InstallGlobalFunction(LeftQuasigroup, function(arg)
|
||||
fi;
|
||||
# Extract the family
|
||||
if IsFamily(arg[1]) then
|
||||
fam = arg[1];
|
||||
fam := arg[1];
|
||||
Remove(arg, 1);
|
||||
arg = Flat(arg);
|
||||
arg := Flat(arg);
|
||||
else
|
||||
arg = Flat(arg);
|
||||
fam = FamilyObj(arg[1]);
|
||||
arg := Flat(arg);
|
||||
fam := FamilyObj(arg[1]);
|
||||
fi;
|
||||
return CloneOfTypeByGenerators(IsLeftQuasigroup, fam, arg,
|
||||
GeneratorsOfLeftQuasigroup);
|
||||
@ -38,12 +38,12 @@ InstallGlobalFunction(LeftRack, function(arg)
|
||||
fi;
|
||||
# Extract the family
|
||||
if IsFamily(arg[1]) then
|
||||
fam = arg[1];
|
||||
fam := arg[1];
|
||||
Remove(arg, 1);
|
||||
arg = Flat(arg);
|
||||
arg := Flat(arg);
|
||||
else
|
||||
arg = Flat(arg);
|
||||
fam = FamilyObj(arg[1]);
|
||||
arg := Flat(arg);
|
||||
fam := FamilyObj(arg[1]);
|
||||
fi;
|
||||
return CloneOfTypeByGenerators(IsLeftRack, fam, arg,
|
||||
GeneratorsOfLeftQuasigroup);
|
||||
@ -56,12 +56,12 @@ InstallGlobalFunction(RightQuasigroup, function(arg)
|
||||
fi;
|
||||
# Extract the family
|
||||
if IsFamily(arg[1]) then
|
||||
fam = arg[1];
|
||||
fam := arg[1];
|
||||
Remove(arg, 1);
|
||||
arg = Flat(arg);
|
||||
arg := Flat(arg);
|
||||
else
|
||||
arg = Flat(arg);
|
||||
fam = FamilyObj(arg[1]);
|
||||
arg := Flat(arg);
|
||||
fam := FamilyObj(arg[1]);
|
||||
fi;
|
||||
return CloneOfTypeByGenerators(IsRightQuasigroup, fam, arg,
|
||||
GeneratorsOfRightQuasigroup);
|
||||
@ -74,12 +74,12 @@ InstallGlobalFunction(RightRack, function(arg)
|
||||
fi;
|
||||
# Extract the family
|
||||
if IsFamily(arg[1]) then
|
||||
fam = arg[1];
|
||||
fam := arg[1];
|
||||
Remove(arg, 1);
|
||||
arg = Flat(arg);
|
||||
arg := Flat(arg);
|
||||
else
|
||||
arg = Flat(arg);
|
||||
fam = FamilyObj(arg[1]);
|
||||
arg := Flat(arg);
|
||||
fam := FamilyObj(arg[1]);
|
||||
fi;
|
||||
return CloneOfTypeByGenerators(IsRightRack, fam, arg,
|
||||
GeneratorsOfRightQuasigroup);
|
||||
|
Loading…
Reference in New Issue
Block a user