<div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div style="">Sorry to be so confused, but what is the function signature for if-bind?</div>
</blockquote><div><br>you can have two kind of if-bind, the one in arnesi and the one that covers most of the use-cases is a single var version:<br><br>(if-bind var expression<br> then<br> else)<br> <br>but one can have an:
<br><br>(if-let ((var1 expr1)<br> (var2 expr2))<br> then<br> else)<br><br>which should expand to nested let's with an if's to keep the semantics of 'and.<br></div><br>but imho this if-let idiom is not needed that often to justify the extra syntax for the single var case and the extra semantic complexity (non-obviousness).
<br></div><br>-- <br>- attila<br><br>"- The truth is that I've been too considerate, and so became unintentionally cruel...<br> - I understand.<br> - No, you don't understand! We don't speak the same language!"<br>
(Ingmar Bergman - Smultronstället)