Hello guys , i am new to scheme and still learning to think in the procedural way.I have a question.Is there a way to pass&nbsp; a predicate as a parameter .for example <br>(<br>every? predicate lst) returns #f if any element of lst fails to<br>
satisfy predicate, and returns #t otherwise.<br><br>&gt; (every? number? '(a b c 3 e))<br>#f<br>&gt; (every? number? '(1 2 3 5 4))<br>#t<br><br>I can use map and check is the elements in the list are numbers .But what if i have to check for any other predicate.I mean can this be generalized.<br>
<br>Aditya<br>