All of yours about Maptree and Dyadic function are very good . Cheers
Just a question: Does the function always take 2 atomic values as argument? I.e. it never expects a list?
Still not answered. Similar to the dotted pair problem, this makes the generalized function very different. E.g. what if you're using a function like distance to obtain the distances between 2 lists of points?
Same type of thing applies for the dotted pair. Should such even be allowed? I mean, this is a form of mapcar, and since mapcar doesn't allow dotted pairs, should this allow it?
As for recursion (or even tail-call) over mapcar, that is a bit dangerous to use as iteration loop over the list. I think it should be fine to use recursion to iterate over the tree's depth, but it's length might become too long for AutoLisp's stack (i.e. around 15000 iterations).
1+
"Maptree" is the work of VLIDE . Why do not Vlide give "Maptree" function , we don't know . But we know it has a lot problems to solve .
1. What the 'fun want , a beautiful girl or a barbecue or a group of dudes ? It must be detected before execution , it's difficult such as write a check-engine of GPU .
(append 4 '
(1 2 3));_must be pre-checked fuction append want not a atom . (distance '
(1 2) '
(2 2))-->1.0;_two single lists are not atom (matrix-fun '((...)...) '((...)...))-->?;_double-linked list .
2. Can give the result like (+ Man Woman)--> New child . It's clear, if the varients are not same will give the same result , Errors . It may Crash AutoCAD programe .
(while (not (+ 1 "2."));_would you like working with a lot of error or interruption tips ?
3. How to select the size of the shoes, some one like smaller , some one feel comfortable when he catch bigger ,but some one like both.
(+ '
(1 2) (1 2 3)) -->(2 4) or (2 4 3);_They are all right ,depends on what you need .
So take the girl or the suitable shoes you like .
Thank you .