On Jun 2, 2009, at 11:35 AM, Wilson MacGyver wrote:
what I like to know is, how do I filter for with value b is < X
You can use destructuring in your predicate's arg list: (filter (fn [[_ x]] (< x 10)) *1)In English, the function takes an argument which can be accessed sequentially. Destruture it such that its first two elements are named "_" (a conventional name for "I don't care") and "x". Then the body of the predicate can operate on x.
--Steve
smime.p7s
Description: S/MIME cryptographic signature