-
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
Documentation discusses queues, but doesn't document how to create one #143
Comments
Maybe this should be a separate issue, but looking at the tests etc for Would a PR which cleans up |
When we created the package, Markus was very excited about adding a ton of things, and he added a ton of place holders for stuff (and of course also implementation). In this case, I don't think we have had an implementation of a pure queue in the repository. It shouldn't be hard to add a "trivial" pure GAP implementation, though, of course, if someone was interested. (This may also be partially because the main GAP repository has And I agree that some things there are over-engineered. E.g. |
Oh and I think the intention was that eventually the constructors like Finally, I don't think |
There's documentation in the manual for queues and deques, which suggests that it's possible to create a
Queue
, but there's no documentation about how to do this:https://gap-packages.github.io/datastructures/doc/chap4.html#X7E4B7210874702B2
Looking at the source code, it's not clear to me whether or not
Queue
s are actually implemented indatastructures
, there are deque's for sure. This is either a missing documentation issue (i.e. queues exist indatastructures
but how to construct one isn't documented); or a bug in the documentation (i.e. queues don't exist indatastructures
and so maybe should be in the documentation?).I'd be happy to amend the doc in a PR if someone could let me know what the correct thing to do is.
The text was updated successfully, but these errors were encountered: