Alternatively, instead of having both left and right, we could just have right and for left we would use negative integers.
Suggestion #18: Cyclic successor of X in Y.
"abc", "omnabcde" -> "bcd"
"cde", "omnabcde" -> "deo"
@cairdcoinheringaahing I have added 4 new array-manipulation suggestions. When you are online, please share your thoughts on about them. Cthulhu will have all of them (maybe except for group indices)
How about this: A "quick" so to say that takes the next 2 commands, then pushes a list of the results? e.g. [1, 2, 3, 4] and the min and max commands => [1, 4]`.
I have used this a lot in Pyth especially, and (at least for prefix notation) it is indeed helpful
I have yet another idea
Say you have a function that takes two values (dyad) and want to map it over a list. Let's say the list is [[1,2,3],[1,2,3],[3,4,5],[1,2,4]] and you want to get the second element of each. Instead of map-index_built_in-variable_of_map-1-list you could do index_built_in-"right-map"-1-list
like, instead of m@d1L you could do @R1L. Mapping with a dyad, to be more specific
Ping me if you say anything, I won't be in the room
@Mr.Xcoder This should be fun. Draw a diagonal line from top-left to bottom-right, using space as padding and a consistent non-whitespace char as the line
@cairdcoinheringaahing CMC: Given a contiguous substring of the alphabet (choose either lowercase or uppercase), whose length is lower than 26, return the substring of the same length following it.
@cairdcoinheringaahing 1. Generate the alphabet. 2. Get the index of the substring. 3. Double the alphabet. 4. Get double_alphabet[alphabet.index(substring)+1:][:len(substring)]