for name in L do
if IsList( name ) and not IsString( name ) then
if not IsBound( key_val_rec.( name[1] ) ) then
if not IsBound( key_val_rec.( name[2] ) ) then
Error( "both components with the names ", name[1], " and ", name[2], " are missing in the given key_value_record record\n" );
else
pos := Position(L, name);
L[pos] := name[2];
fi;
else
pos := Position(L, name);
L[pos] := name[1];
fi;
elif not IsBound( key_val_rec.(name) ) then
Error( "the component with the name ", name, " is missing in the given key_value_record record\n" );
fi;
od;
L := List( L{[ 1 .. Length( L ) - 5 ]}, name -> [ name, key_val_rec.(name) ] );
if IsBound( key_val_rec.replace ) then
Append( L, key_val_rec.replace );
fi;
if IsBound( key_val_rec.safe_replace ) then
L := Concatenation(
List( key_val_rec.safe_replace, r -> [ r[1], ShaSum( r[1] ) ] ), ## detect at the very beginning and replace by sha's (order is important!)
L,
List( key_val_rec.safe_replace, r -> [ ShaSum( r[1] ), r[2] ] ) ); ## safely replace the sha's at the very end
fi;
header := Concatenation(
"# THIS FILE WAS AUTOMATICALLY GENERATED",
"\n\n" );
for file in files do
if not IsBound( files_rec.(file) ) then
Info( InfoWarning, 1, "the component ", file, " is not bound in the record 'files_rec'" );
elif IsString( files_rec.(file) ) then
source := Concatenation( dir, ReplacedString( file, "_", "." ) );
target := Concatenation( PackageInfo( package_name )[1].InstallationPath, "/gap/", files_rec.(file) );
WriteReplacedFileForHomalg( source, L, target : header := header );
fi;
od;
if IsBound( files_rec.AUTOGENERATED_FROM ) then
target := Concatenation( PackageInfo( package_name )[1].InstallationPath, "/gap/", files_rec.AUTOGENERATED_FROM );
WriteFileForHomalg(
target,
Concatenation(
"The files of this package which include the line",
" `THIS FILE WAS AUTOMATICALLY GENERATED` in their header",
" have been autogenerated\n\n",
"* from MonoidalCategories v",
PackageInfo( "MonoidalCategories" )[1].Version,
"\n" ) );
fi;
end );
Messung V0.5 in Prozent
¤ Diese beiden folgenden Angebotsgruppen bietet das Unternehmen0.132Angebot
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.