I tried using if-let with multiple binding in past as well.Following least surprise principle, I would like to see support for multiple bindings.
Cheers, Hubert.
Vinzent <mailto:ru.vinz...@gmail.com> May 15, 2012 5:47 PMOr maybe if-let and when-let should support multiple bindings, like the doc states.воскресенье, 13 мая 2012 г., 4:55:40 UTC+6 пользователь Borkdude написал: --You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.comNote that posts from new members are moderated - please be patient with your first post.To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en Borkdude <mailto:michielbork...@gmail.com> May 13, 2012 12:55 AM The docstring of if-let is as follows: bindings => binding-form test If test is true, evaluates then with binding-form bound to the value of test, if not, yields elseI think it should be mentioned in the docs that if-let and when-let support only /one binding/, not multiple bindings (like for example https://www.refheap.com/paste/2700).Kind regards, Michiel -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.comNote that posts from new members are moderated - please be patient with your first post.To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en
-- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en
<<inline: compose-unknown-contact.jpg>>
<<inline: postbox-contact.jpg>>