Skip to content

Commit

Permalink
Add comment to explain IsNonAtomicComponentObjectRep etc.
Browse files Browse the repository at this point in the history
... they are used by HPC-GAP, and in GAP do nothing different than their
counterparts, namely:
  IsNonAtomicComponentObjectRep <-> IsComponentObjectRep
  IsReadOnlyPositionalObjectRep <-> IsPositionalObjectRep
  IsAtomicPositionalObjectRep   <-> IsPositionalObjectRep

We mainly provide them in plain GAP to make it easier to write code
that works well in both GAP and HPC-GAP.
  • Loading branch information
fingolfin committed May 30, 2018
1 parent 0cfdf06 commit cd84aea
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/type.g
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,8 @@ DeclareRepresentation( "IsPositionalObjectRep", IS_OBJECT, [], IS_OBJECT );
DeclareRepresentation( "IsComponentObjectRep", IS_OBJECT, [], IS_OBJECT );
DeclareRepresentation( "IsDataObjectRep", IS_OBJECT, [], IS_OBJECT );

# the following are for HPC-GAP, but we also provide them in plain GAP, to
# make it easier to write code which works in both.
DeclareRepresentation( "IsNonAtomicComponentObjectRep",
IsComponentObjectRep, [], IS_OBJECT);
DeclareRepresentation( "IsReadOnlyPositionalObjectRep",
Expand Down

0 comments on commit cd84aea

Please sign in to comment.