Skip to content

New functions: isEmpty, front & length#3

Open
chikamichi wants to merge 3 commits into
avh4:masterfrom
chikamichi:extending-api
Open

New functions: isEmpty, front & length#3
chikamichi wants to merge 3 commits into
avh4:masterfrom
chikamichi:extending-api

Conversation

@chikamichi
Copy link
Copy Markdown

Extending the API with well-known functions:

  • isEmpty reports whether a queue is empty
  • front is a read-only accessor to inspect a queue's front value
  • length reports a queue's size

As this branch is based off the non-merged rework branch, it eventually should be rebased against master if #2 is merged. Only 9e1daff is relevant.

avh4 added a commit that referenced this pull request Aug 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant