Skip to content

atlasrep: POSITION_FIRST_COMPONENT_SORTED used #2789

Closed
@fingolfin

Description

The atlasrep package uses the undocumented kernel function POSITION_FIRST_COMPONENT_SORTED. It would be nice if that could stop. As an alternative, this code:

pos:= POSITION_FIRST_COMPONENT_SORTED( WidthUnicodeTable, ints[j] );

could likely be replaced with this, as done in several other packages (however, I have not tested this within altasrep):

pos:= PositionSorted( WidthUnicodeTable, [ ints[j] ] );

Once an atlasrep version not using this has been released, we can get rid of PositionFirstComponent and also this kernel function behind it.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

topic: packagesissues or PRs related to package handling, or specific to a package (for packages w/o issue tracker)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions