Skip to content

fix(docs): correct LPOP example in lists documentation#425

Open
gchape wants to merge 1 commit intovalkey-io:mainfrom
gchape:patch-1
Open

fix(docs): correct LPOP example in lists documentation#425
gchape wants to merge 1 commit intovalkey-io:mainfrom
gchape:patch-1

Conversation

@gchape
Copy link
Copy Markdown

@gchape gchape commented Mar 20, 2026

LPOP removes from the head, so the expected output after RPUSH bike:1 bike:2 bike:3 should return bike:1, bike:2, bike:3 in that order, not reverse.

LPOP removes from the head, so the expected output after
RPUSH bike:1 bike:2 bike:3 should return bike:1, bike:2,
bike:3 in that order, not reverse.

Signed-off-by: Giorgi Chapidze <chapidze.giorgi@proton.me>
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