1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616
|
#############################################################################
##
#W obsolete.gd GAP library Steve Linton
##
##
#Y Copyright (C) 1996, Lehrstuhl D für Mathematik, RWTH Aachen, Germany
#Y (C) 1998 School Math and Comp. Sci., University of St Andrews, Scotland
#Y Copyright (C) 2002 The GAP Group
##
## This file contains a number of functions, or extensions of
## functions to certain numbers or combinations of arguments, which
## are now considered "deprecated" or "obsolescent", but which are presently
## included in the system to maintain backwards compatibility.
##
## Procedures for dealing with this functionality are not yet completely
## agreed, but it will probably be removed from the system over
## several releases.
##
## These functions should *NOT* be used in the GAP library.
##
## For each variable name that appears in this file, information should be
## provided up to which version the name was documented, in which version
## it was added to this file and hence is regarded as ``obsolescent'',
## and in which version it is expected to be removed.
##
## Concerning the distribution of code to `lib/obsolete.gd' and
## `lib/obsolete.gi', the following rule holds.
## Function declarations must be added to `lib/obsolete.gd', since the
## declaration part of packages may reference them.
## Also function bodies that rely only on variables declared in the
## declaration part of the GAP library can be added to `lib/obsolete.gd'.
## Only those method installations and function bodies must be added to
## `lib/obsolete.gd' that rely on variables declared in the implementation
## part of the GAP library.
##
## <#GAPDoc Label="obsolete_intro">
## <Index>obsolete</Index>
## <Index>deprecated</Index>
## <Index>legacy</Index>
##
## In general we try to keep &GAP; 4 compatible with former releases
## as much as possible.
## Nevertheless,
## from time to time it seems appropriate to remove some commands
## or to change the names of some commands or variables.
## There are various reasons for that:
## Some functionality was improved and got another (hopefully better)
## interface,
## names turned out to be too special or too general for the underlying
## functionality,
## or names are found to be unintuitive or inconsistent with other names.
## <P/>
## In this chapter we collect such old names while pointing to the sections
## which explain how to substitute them.
## Usually, old names will be available for several releases;
## they may be removed when they don't seem to be used any more.
## <P/>
## The obsolete &GAP; code is collected in two library files,
## <F>lib/obsolete.gd</F> and <F>lib/obsolete.gi</F>.
## By default, these files are read when &GAP; is started.
## It may be useful to omit reading these files,
## for example in order to make sure that one's own &GAP; code does not rely
## on the obsolete variables.
## For that, one can use the <C>-O</C> command line option
## (see <Ref Label="Command Line Options"/>) or set the component
## <C>ReadObsolete</C> in the file <F>gap.ini</F> to <K>false</K>
## (see <Ref Sect="sect:gap.ini"/>). Note that <C>-O</C> command
## line option overrides <C>ReadObsolete</C>.
## <P/>
## (Note that the condition whether the library files with the obsolete
## &GAP; code shall be read has changed.
## In &GAP; 4.3 and 4.4, the global variables <C>GAP_OBSOLESCENT</C>
## and <C>GAPInfo.ReadObsolete</C>
## –to be set in the user's <F>.gaprc</F> file–
## were used to control this behaviour.)
## <#/GAPDoc>
##
BIND_GLOBAL( "DeclareObsoleteSynonym", function( name_obsolete, name_current )
local value, orig_value;
if not ForAll( [ name_obsolete, name_current ], IsString ) then
Error("Each argument of DeclareObsoleteSynonym must be a string\n");
fi;
value := EvalString( name_current );
if IsFunction( value ) then
orig_value := value;
value := function (arg)
local res;
Info( InfoObsolete, 1, "'", name_obsolete, "' is obsolete.",
"\n#I It may be removed in a future release of GAP.",
"\n#I Use ", name_current, " instead.");
# TODO: This will error out if orig_value is a function which returns nothing.
#return CallFuncList(orig_value, arg);
res := CallFuncListWrap(orig_value, arg);
if Length(res) = 1 then
return res[1];
fi;
end;
fi;
BIND_GLOBAL( name_obsolete, value );
end );
BIND_GLOBAL( "DeclareObsoleteSynonymAttr", function( name_obsolete, name_current )
Assert(0, IsFunction( ValueGlobal( name_current ) ) );
DeclareObsoleteSynonym( name_obsolete, name_current );
DeclareObsoleteSynonym( Concatenation("Set", name_obsolete), Concatenation("Set", name_current) );
DeclareObsoleteSynonym( Concatenation("Has", name_obsolete), Concatenation("Has", name_current) );
end );
#############################################################################
##
#F DiagonalizeIntMatNormDriven(<mat>) . . . . diagonalize an integer matrix
##
## 'DiagonalizeIntMatNormDriven' diagonalizes the integer matrix <mat>.
##
## It tries to keep the entries small through careful selection of pivots.
##
## First it selects a nonzero entry for which the product of row and column
## norm is minimal (this need not be the entry with minimal absolute value).
## Then it brings this pivot to the upper left corner and makes it positive.
##
## Next it subtracts multiples of the first row from the other rows, so that
## the new entries in the first column have absolute value at most pivot/2.
## Likewise it subtracts multiples of the 1st column from the other columns.
##
## If afterwards not all new entries in the first column and row are zero,
## then it selects a new pivot from those entries (again driven by product
## of norms) and reduces the first column and row again.
##
## If finally all offdiagonal entries in the first column and row are zero,
## then it starts all over again with the submatrix '<mat>{[2..]}{[2..]}'.
##
## It is based upon ideas by George Havas and code by Bohdan Majewski.
## G. Havas and B. Majewski, Integer Matrix Diagonalization, JSC, to appear
##
## Moved to obsoletes in May 2003.
##
## not used in any redistributed package (01/2016)
#DeclareGlobalFunction( "DiagonalizeIntMatNormDriven" );
#############################################################################
##
#F DeclarePackage( <name>, <version>, <tester> )
#F DeclareAutoPackage( <name>, <version>, <tester> )
#F DeclarePackageDocumentation( <name>, <doc>[, <short>[, <long> ] ] )
#F DeclarePackageAutoDocumentation( <name>, <doc>[, <short>[, <long> ] ] )
#F ReadPkg( ... )
#F RequirePackage( ... )
##
## Up to GAP 4.3, these functions were needed inside the `init.g' files
## of GAP packages, whereas from GAP 4.4 on, the `PackageInfo.g' files
## are used instead.
## So they are needed only for those packages which have a `PackageInfo.g'
## file as well as an `init.g' file that works also with GAP 4.3
## (or older).
## They can be removed as soon as none of the available packages calls them.
##
#BindGlobal( "DeclarePackage", Ignore );
# 09/2018: not used in any redistributed package
#BindGlobal( "DeclareAutoPackage", Ignore );
# 06/2018: not used in any redistributed package
#BindGlobal( "DeclarePackageAutoDocumentation", Ignore );
# 09/2018: not used in any redistributed package
#BindGlobal( "DeclarePackageDocumentation", Ignore );
# 03/2018: not used in any redistributed package
DeclareObsoleteSynonym( "ReadPkg", "ReadPackage" );
# 06/2018: still used in automgrp, Hap (HapCocyclic), modisom
# safely used in GAP3 compatibility code: ctbllib, quagroup, singular (09/2018)
DeclareObsoleteSynonym( "RequirePackage", "LoadPackage" );
# 09/2018: not used in "general" code in any redistributed package
# used in documentation or for generating it: edim, hecke, repsn, singular (09/2018)
# safely used in GAP3 compatibility code: ctbllib, singular (09/2018)
#############################################################################
##
#V KERNEL_VERSION - not used in any redistributed package (11/2017)
#V VERSION - still used by HAP, singular (06/2018)
#V GAP_ARCHITECTURE - still used by gbnp, singular (03/2018)
#V GAP_ROOT_PATHS - not used in any redistributed package (03/2018)
#V DEBUG_LOADING - still used by the GAP kernel itself (11/2017)
#V BANNER - still used by loops, quagroup (09/2018)
#V QUIET - still used by loops, quagroup (09/2018)
#V LOADED_PACKAGES - not used in any redistributed package (11/2017)
##
## Up to GAP 4.3,
## these global variables were used instead of the record `GAPInfo'.
##
#BindGlobal( "KERNEL_VERSION", GAPInfo.KernelVersion );
BindGlobal( "VERSION", GAPInfo.Version );
BindGlobal( "GAP_ARCHITECTURE", GAPInfo.Architecture );
#BindGlobal( "GAP_ROOT_PATHS", GAPInfo.RootPaths );
BindGlobal( "DEBUG_LOADING", GAPInfo.CommandLineOptions.D );
BindGlobal( "BANNER", not GAPInfo.CommandLineOptions.b );
BindGlobal( "QUIET", GAPInfo.CommandLineOptions.q );
#BindGlobal( "LOADED_PACKAGES", GAPInfo.PackagesLoaded );
#############################################################################
##
#V PACKAGES_VERSIONS - not used in any redistributed package (11/2017)
#V Revision - still used by HAPcryst, pargap, polymaking, rds,
#V singular, tomlib (03/2018)
#BindGlobal( "PACKAGES_VERSIONS", rec() );
BindGlobal( "Revision", rec() );
#############################################################################
##
#V TRANSDEGREES - not used in any redistributed package (09/2018)
##
## This variable was used by the GAP Transitive Groups Library before it
## became a separate TransGrp package. It denoted the maximal degree of
## transitive permutation groups provided by that library.
##
## In the TransGrp package, this information is provided by the boolean
## list TRANSAVAILABLE, which indicates availability for each possible
## degree (this is necessary because the data for some degrees may have
## to be downloaded separately).
##
## At the time of writing this comment, the TransGrp package contained
## representatives for all transitive permutation groups of degree at
## most 47, with degree 32 needing to be downloaded separately.
##
BindGlobal( "TRANSDEGREES", 30 );
#############################################################################
##
#A NormedVectors( <V> )
##
## Moved to obsoletes in May 2003.
## Still used in ctbllib, matgrp (06/2018)
##
DeclareObsoleteSynonymAttr( "NormedVectors", "NormedRowVectors" );
#############################################################################
##
#F SameBlock( <tbl>, <p>, <omega1>, <omega2>, <relevant>, <exponents> )
##
## (the next three paragraphs were added in July 2003)
##
## Let <tbl> be an ordinary character table, <p> a prime integer, <omega1>
## and <omega2> two central characters (or their values lists) of <tbl>.
## The remaining arguments <relevant> and <exponents> are lists as stored in
## the components `relevant' and `exponents' of a record returned by
## `PrimeBlocks' (see~"PrimeBlocks").
##
## `SameBlock' returns `true' if <omega1> and <omega2> are equal modulo any
## maximal ideal in the ring of complex algebraic integers containing the
## ideal spanned by <p>, and `false' otherwise.
##
## The above syntax was supported and documented in GAP 4.3.
## In GAP 4.4, the first and the last argument were omitted because they
## turned out to be unnecessary. (The record returned by `PrimeBlocks' does
## no longer have a component `exponents'.)
## From GAP 4.5 on, only the four argument version will be supported.
##
#############################################################################
##
#O FormattedString( <obj>, <nr> ) . . formatted string repres. of an object
##
## This variable name was never documented and is obsolete.
## (It had been introduced at a time when only unary methods were allowed
## for attributes.)
##
## Moved to obsolete in Dec 2007.
## Still used in ctbllib, gbnp. (03/2018)
##
DeclareObsoleteSynonym( "FormattedString", "String" );
#############################################################################
##
## In June 2009, `IsTuple' was renamed to `IsDirectProductElement'.
## The following names should be still available and regarded as obsolescent
## in GAP 4.5, and should be removed in GAP 4.6.
##
#F IsTuple( ... ) - not used in any redistributed package (11/2017)
#F Tuple( ... ) - still used by groupoids, modisom, numericalsgps (09/2018)
##
#DeclareObsoleteSynonym( "IsTuple", "IsDirectProductElement" );
DeclareObsoleteSynonym( "Tuple", "DirectProductElement" );
## from GAPs "classical" random number generator:
# Outdated, but kept since they were documented for a long time.
# Moved to obsoletes in May 2010.
#############################################################################
##
#F StateRandom()
#F RestoreStateRandom(<obj>)
##
## <ManSection>
## <Func Name="StateRandom" Arg=''/>
## <Func Name="RestoreStateRandom" Arg='obj'/>
##
## <Description>
## [This interface to the global random generator is kept for compatibility
## with older versions of &GAP;. Use now <C>State(GlobalRandomSource)</C>
## and <C>Reset(GlobalRandomSource, <A>obj</A>)</C> instead.]
## <P/>
## For debugging purposes, it can be desirable to reset the random number
## generator to a state it had before. <Ref Func="StateRandom"/> returns a
## &GAP; object that represents the current state of the random number
## generator used by <Ref Func="RandomList"/>.
## <P/>
## By calling <Ref Func="RestoreStateRandom"/> with this object as argument,
## the random number is reset to this same state.
## <P/>
## (The same result can be obtained by accessing the two global variables
## <C>R_N</C> and <C>R_X</C>.)
## <P/>
## (The format of the object used to represent the random generator seed
## is not guaranteed to be stable between different machines or versions
## of &GAP;.)
## <P/>
## <Example><![CDATA[
## gap> seed:=StateRandom();;
## gap> List([1..10],i->Random(Integers));
## [ -3, 2, 5, 1, 0, -2, 4, 3, 5, 3 ]
## gap> List([1..10],i->Random(Integers));
## [ 1, -2, 1, -1, -2, 4, -1, -3, -1, 1 ]
## gap> RestoreStateRandom(seed);
## gap> List([1..10],i->Random(Integers));
## [ -3, 2, 5, 1, 0, -2, 4, 3, 5, 3 ]
## ]]></Example>
## </Description>
## </ManSection>
##
############################################################################
## Compatibility functions, these are documented for a long time.
## (We also keep the global variables R_N and R_X within the
## 'GlobalRandomSource' because they were documented.)
##
# BindGlobal( "StateRandom", function()
# return State(GlobalRandomSource);
# end);
#
# BindGlobal( "RestoreStateRandom", function(seed)
# Reset(GlobalRandomSource, seed);
# end);
# older documentation referred to `StatusRandom'.
#DeclareObsoleteSynonym( "StatusRandom", "StateRandom" );
# synonym formerly declared in factgrp.gd.
# Moved to obsoletes in October 2011
# not used in any redistributed package (11/2017)
#DeclareObsoleteSynonym( "FactorCosetOperation", "FactorCosetAction" );
# synonym retained for backwards compatibility with GAP 4.4.
# Moved to obsoletes in April 2012. Still used by hap (03/2018)
DeclareObsoleteSynonym( "Complementclasses", "ComplementClassesRepresentatives" );
#############################################################################
##
#O ShrinkCoeffs( <list> )
##
## Moved to obsoletes in June 2010
##
## <ManSection>
## <Oper Name="ShrinkCoeffs" Arg='list'/>
##
## <Description>
## removes trailing zeroes from <A>list</A>.
## It returns the position of the last non-zero entry,
## that is the length of <A>list</A> after the operation.
## <Example><![CDATA[
## gap> l:=[1,0,0];;ShrinkCoeffs(l);l;
## 1
## [ 1 ]
## ]]></Example>
## </Description>
## </ManSection>
##
## not used in any redistributed package (11/2017)
#DeclareOperation( "ShrinkCoeffs", [ IsMutable and IsList ] );
#############################################################################
##
#F ExcludeFromAutoload( ... )
##
## was supported until GAP 4.4, obsolescent in GAP 4.5.
##
## not used in any redistributed package (01/2016)
# BindGlobal( "ExcludeFromAutoload", function( arg )
# Info( InfoWarning, 1,
# "the function `ExcludeFromAutoload' is not supported anymore,\n",
# "#I use the component `ExcludeFromAutoload' in `gap.ini'\n",
# "#I instead" );
# end );
#############################################################################
##
#V POST_RESTORE_FUNCS - still used by grape (09/2018)
##
## were supported until GAP 4.4, obsolescent in GAP 4.5.
##
POST_RESTORE_FUNCS:= GAPInfo.PostRestoreFuncs;
#############################################################################
##
#O TeXObj( <obj> ) . . . . . . . . . . . . . . . . . . . . . . TeX an object
##
## <ManSection>
## <Oper Name="TeXObj" Arg='obj'/>
##
## <Description>
## </Description>
## </ManSection>
##
DeclareOperation( "TeXObj", [ IS_OBJECT ] );
#############################################################################
##
#O LaTeXObj( <obj> ) . . . . . . . . . . . . . . . . . . . . LaTeX an object
##
## <ManSection>
## <Oper Name="LaTeXObj" Arg='obj'/>
##
## <Description>
## The function <Ref Func="LaTeX"/> actually calls the operation
## <Ref Func="LaTeXObj"/> for each argument.
## By installing special methods for this operation, it is possible
## to achieve special &LaTeX;'ing behavior for certain objects
## (see Chapter <Ref Chap="Method Selection"/>).
## </Description>
## </ManSection>
##
DeclareOperation( "LaTeXObj", [ IS_OBJECT ] );
#############################################################################
##
#F ConnectGroupAndCharacterTable( <G>, <tbl>[, <info>] )
##
## This function was supported up to GAP 4.4.12.
## It is deprecated because it changes its arguments, which is a bad idea.
## Note that after a successful call of `ConnectGroupAndCharacterTable',
## one cannot use <tbl> in another call with another group <G>.
##
## Moreover, if <tbl> is a character table from GAP's table library (which
## is probably the most usual application) then the following may happen.
## One fetches the table <tbl> with `CharacterTable',
## then stores the group information with `ConnectGroupAndCharacterTable',
## then performs some computations with this table and perhaps with other
## tables,
## and finally one fetches <tbl> again with `CharacterTable'; depending on
## the intermediate computations, this table can be the old instance, with
## the (unwanted) stored group information.
##
## In GAP 4.5, one can use the function `CharacterTableWithStoredGroup'
## instead of `ConnectGroupAndCharacterTable'.
##
## not used in any redistributed package (01/2016)
#DeclareGlobalFunction( "ConnectGroupAndCharacterTable" );
#############################################################################
##
#F MutableIdentityMat( <m> [, <F>] ) mutable identity matrix of a given size
##
## <#GAPDoc Label="MutableIdentityMat">
## <ManSection>
## <Func Name="MutableIdentityMat" Arg='m [, F]'/>
##
## <Description>
## returns a (mutable) <A>m</A><M>\times</M><A>m</A> identity matrix over the field given
## by <A>F</A>.
## This is identical to <Ref Func="IdentityMat"/> and is present in &GAP; 4.1
## only for the sake of compatibility with beta-releases.
## It should <E>not</E> be used in new code.
## </Description>
## </ManSection>
## <#/GAPDoc>
##
## still used by modisom (09/2018)
DeclareObsoleteSynonym( "MutableIdentityMat", "IdentityMat" );
#############################################################################
##
#F MutableNullMat( <m>, <n> [, <F>] ) mutable null matrix of a given size
##
## <#GAPDoc Label="MutableNullMat">
## <ManSection>
## <Func Name="MutableNullMat" Arg='m, n [, F]'/>
##
## <Description>
## returns a (mutable) <A>m</A><M>\times</M><A>n</A> null matrix over the field given
## by <A>F</A>.
## This is identical to <Ref Func="NullMat"/> and is present in &GAP; 4.1
## only for the sake of compatibility with beta-releases.
## It should <E>not</E> be used in new code.
## </Description>
## </ManSection>
## <#/GAPDoc>
##
## still used by modisom, qpa, singular (09/2018)
DeclareObsoleteSynonym( "MutableNullMat", "NullMat" );
#############################################################################
##
#F IsSemilatticeAsSemigroup( <S> ) is the semigroup <S> a semilattice
##
## <#GAPDoc Label="IsSemilatticeAsSemigroup">
## <ManSection>
## <Prop Name="IsSemilatticeAsSemigroup" Arg='S'/>
##
## <Description>
## <C>IsSemilatticeAsSemigroup</C> returns <K>true</K> if the semigroup
## <A>S</A> is a semilattice and <K>false</K> if it is not. <P/>
##
## A semigroup is a <E>semilattice</E> if it is commutative and every
## element is an idempotent. The idempotents of an inverse semigroup form a
## semilattice.
##
## This is identical to <Ref Prop="IsSemilattice" BookName = "Semigroups"/> #
## and is present in &GAP; 4.8 # only for the sake of compatibility with
## beta-releases. # It should <E>not</E> be used in new code.
## </Description>
## </ManSection>
## <#/GAPDoc>
##
## not used in any redistributed packages (11/2017)
#DeclareSynonymAttr( "IsSemilatticeAsSemigroup", IsSemilattice );
#############################################################################
##
#F CreateCompletionFiles( [<path>] ) . . . . . . create "lib/readX.co" files
##
## NO LONGER SUPPORTED IN GAP >= 4.5
##
# BindGlobal( "CreateCompletionFiles", function()
# Print("CreateCompletionFiles: Completion files are no longer supported by GAP.\n");
# end);
#############################################################################
##
#O PositionFirstComponent( <list>, <obj> )
##
## Removed due to being incompletely documented and its available methods
## behaving inconsistently. Use PositionSorted or Position instead.
##
## Deprecated in GAP >= 4.8
## Not used in any redistributed packages (11/2017)
#DeclareOperation( "PositionFirstComponent", [IsList,IsObject] );
#############################################################################
##
#O ReadTest
##
## `ReadTest' is superseded by more robust and flexible `Test'. Since the
## former is still used in some packages, for backwards compatibility we
## replace it by the call of `Test' with comparison up to whitespaces.
##
## Still used in ctbllib, cubefree, gbnp, guarana, hapcryst, polymaking,
## radiroot, singular (09/2018)
## safely used in compatibility code: gapdoc (09/2018)
BindGlobal( "ReadTest", function( fn )
Print("#I ReadTest is no longer supported. Please use more robust and flexible\n",
"#I Test. For backwards compatibility, ReadTest(<filename>) is replaced\n",
"#I by Test( <filename>, rec( compareFunction := \"uptowhitespace\" ))\n");
Test( fn, rec( compareFunction := "uptowhitespace" ));
end);
#############################################################################
##
#F USER_HOME_EXPAND
##
## This got a nicer name before is became documented.
##
## still used by Browse, profiling, resclasses (09/2018)
## safely used in compatibility code: digraphs, profiling, semigroups (09/2018)
DeclareObsoleteSynonym( "USER_HOME_EXPAND", "UserHomeExpand" );
#############################################################################
##
#F RecFields
##
## This name stems from GAP 3 days.
##
## still used by Browse, ctbllib (09/2018)
## safely used in GAP3 compatibility code: ctbllib (09/2018)
DeclareObsoleteSynonym( "RecFields", "RecNames" );
#############################################################################
##
#F SHALLOW_SIZE
##
## 'SHALLOW_SIZE' is an alias for the kernel function 'SIZE_OBJ'. Note that
## in the past, SIZE_OBJ was buggy for immediate inputs (i.e. small integers
## or finite field elements), hence packages using either of these
## UNDOCUMENTED kernel functions may wish to keep using SHALLOW_SIZE until
## they can adjust their minimal GAP version requirements.
##
## still used by orb, recog (09/2018)
DeclareObsoleteSynonym( "SHALLOW_SIZE", "SIZE_OBJ" );
#############################################################################
##
#E
|