Can someone show me an example of a good use of if-let?

I find its doc string a little confusing. It says "If test is true,
evaluates then with binding-form bound to the value of test, if not,
yields else". However, it doesn't have a parameter named "test". I
assume it means "If the binding evaluates to true ...".

Also, it has a parameter named "bindings", but it should perhaps be
named "binding" because it doesn't allow specifying more than one
binding.

-- 
R. Mark Volkmann
Object Computing, Inc.

--~--~---------~--~----~------------~-------~--~----~
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
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to