Kira 🌱 on Nostr: I never liked the names ROT and -ROT. What direction are we rotating? It's unclear. ...
I never liked the names ROT and -ROT. What direction are we rotating? It's unclear.
Context:
ROT does ( a b c -> c a b )
-ROT does ( a b c -> b c a )
ROTLEFT and ROTRIGHT would have worked, but my preference?
ROT -> BURY (buries the top of the stack 2 levels deep)
-ROT -> EXHUME (returns 2nd-level stack item back to the top)
Published at
2025-02-04 19:44:35 UTCEvent JSON
{
"id": "bfe7d6f7fa96e2669e64c867405625135a15b93044ea57cdc6adf93df05f953e",
"pubkey": "30b71fe5e98a3ac994f7e7ce39bd67c7fea94b075fcb5334acab0c46025af835",
"created_at": 1738698275,
"kind": 1,
"tags": [
[
"proxy",
"https://sunbeam.city/@tty/113947330173232972",
"web"
],
[
"content-warning",
"FORTH word naming thoughts"
],
[
"proxy",
"https://sunbeam.city/users/tty/statuses/113947330173232972",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://sunbeam.city/users/tty/statuses/113947330173232972",
"pink.momostr"
],
[
"-"
]
],
"content": "I never liked the names ROT and -ROT. What direction are we rotating? It's unclear.\n\nContext:\n\nROT does ( a b c -\u003e c a b )\n-ROT does ( a b c -\u003e b c a )\n\nROTLEFT and ROTRIGHT would have worked, but my preference?\n\nROT -\u003e BURY (buries the top of the stack 2 levels deep)\n-ROT -\u003e EXHUME (returns 2nd-level stack item back to the top)",
"sig": "ea8bbfb7f5506668ba0577ee8837f86e3831ee2a3f742bcf9d056b0a57f86aba4b13f09e76d6c56cb04a30797844a742eae28c2bc9fca6cc20af8a80a0e2c432"
}