Skip to content
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

push/unshift metaphor for todos #3

Open
dstnbrkr opened this issue Feb 16, 2011 · 1 comment
Open

push/unshift metaphor for todos #3

dstnbrkr opened this issue Feb 16, 2011 · 1 comment

Comments

@dstnbrkr
Copy link
Owner

deque behavior - ability to add a task to the front of the list, or the back.

gitdone unshift "Need to get this done now." // adds to front
gitdone push "Something I'll get to later." // adds to back

@dstnbrkr
Copy link
Owner Author

gitdone pop // remove last element
gitdone shift // remove first element

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

No branches or pull requests

1 participant