Q: Pad on the right side to match a certain length using 0 for lists and ' ' for strings P: Pad on the left side to match a certain length using 0 for lists and ' ' for strings Z: Zip transform of a list of lists or stringsī: Convert from number to digits in specified base X: Expand the top of the stack to individual elements does nothing if the top is not a list or string U: Reverses the top if it can be iterated over otherwise, the whole stack O: String -> Map to code-points, Character -> code-point, Integer -> character at that code-point L: Length converts numbers to strings automatically ?: Ternary: 2-from-top if top else Pop the top of the stack into the registerī: Integer -> Binary Digits, or String -> Characters does nothing to multi-value thingsĭ: Integer -> Decimal Digits, or String -> Characters does nothing to multi-value things Implicitly calls converts from integers to strings +: Addition (Integer, String, List Element-wise, Integer into List on each element) $: Convert the top of the stack to a string If a list or multi-character string is given as a padding element, it may use a fractional portion of it Ø: Center a list or string to a specified length padding with the specified item. Ø: Center a list or string to a specified length using 0 for padding lists and ' ' for strings ¥: Convert the top of the stack to a string, with a specified number of digits of precision ¡code»: while loop keep running the code until the elements are no longer uniqueĬodeblocks do not need the trailing '»' that's only required for if code contains more than one token. ¢code»: while loop pop the top of the stack each time and if stack is non-empty and the popped value is true, run the code on the stack ¿code»: while loop look at the top of the stack each time and if stack is non-empty and the top value is true, run the code on the stack \code»: reduce over a key (dyadic) function, keeping intermediate results code»: reduce over a key (dyadic) function If top-of-stack is a list, filter out that otherwise, apply on the whole stack If top-of-stack is a list, filter that otherwise, filter the whole stack £code»: map the stack over a key function, even if the top of the stack is a list If top-of-stack is a list, map that otherwise, map the whole stack Ɓcode»: sort the stack over a key function, even if the top of the stack is a list If top-of-stack is a list, sort that otherwise, sort the whole stack
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |