-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IsList
for the results of Slice
?
#114
Comments
I agree this is not perfect. I wanted to be able to run functions like However, the If there was a nice way i could call |
As far as I understand, it is anyhow necessary to write specific code for sorting slices etc., |
So at the moment, all sorts of list functions work "fine" on slices, for example:
|
I think the point is what you want to achieve. If slices are intended as an alternative representation for general lists in GAP, with all list functionality, then slices should be in If slices are intended as some special purpose data structure for doing certain things efficiently then I think the rules for lists are a burden for the slice objects. |
So, I have fixed |
Is it necessary that slices are in the filter
IsList
?\=
yieldsfalse
,due to the different families, which contradicts the definition of
\=
for lists.then the
Length
value does not correspond to the last bound position.If slices would not be in
IsList
then these would be just features of slices, not inconsistencies.The text was updated successfully, but these errors were encountered: