J
Jimka
Guest
Is there a clever way in SKILL to do somthing which sort of mixes
the functionality of (foreach map....) with exists?
I want the test applied to the cons cell, not to the car of the cons
cell.
As (foreach .... ) is to (exists ...)
(foreach map ...) is to what?
The exists function does not take an optional mapping function similar
to foreach, but IF IT DID this is what i'd like to do.
(exists map sub '(1 2 3 4 5 6 7) ((cadr map) > 3))
---> (3 4 5 6 7)
What's the most efficient/fastest way to do this?
-jim
the functionality of (foreach map....) with exists?
I want the test applied to the cons cell, not to the car of the cons
cell.
As (foreach .... ) is to (exists ...)
(foreach map ...) is to what?
The exists function does not take an optional mapping function similar
to foreach, but IF IT DID this is what i'd like to do.
(exists map sub '(1 2 3 4 5 6 7) ((cadr map) > 3))
---> (3 4 5 6 7)
What's the most efficient/fastest way to do this?
-jim