functional programming - Is there a typical name for a function like 'map' that operates on a list of argument lists instead of multiple lists of arguments? -
(I finally posted and acknowledged that "no, no, and there is no question" in fact it is normal ". )
Consider the general lisp function 'mapekar'. It takes a function and some lists as logic, and calls the function with the logic extracted from the same position in each list.
Is there a function in standard libraries that usually have a list? Is there a list of arguments for each element in the list function? Normally what is called "standard" or not, such as what is a function? (This is not a LISP question, but this is the only functional language + library I know from half way.)
I think I'm asking for an operation (in pseudo-Lisp):
(mapcar (curry # ' Function-to-map ') List-of-ARG-lists)
Already a similar name
Text "itemprop =" text ">
I can designate it as map-applicable
or mapply
if you own it or a small group.
(mapcar- apply (fn arg-lists) (mapcar (lambda (Arg-list) (apply FN RG-list)) RGR-list) (map-applicable # ' + '((1 2) (3 4 5))) = & gt; (3 12)
edit Of course you do not just have a pretend if you have curry
:
Comments
Post a Comment