This the syntax for map destructuring. Works on function argument vector and let bindings.
You'll find multiple online resources that explain this clearly. Sent from phone. Please excuse brevity. On 14 Mar 2013 21:07, <[email protected]> wrote: > *excuse me, when I read the storm src,I catch some code as follows* > * > * > *(let [{:keys [root watcher auth-conf], :or {auth-conf "auth-conf", root > "root", watcher "watcher"}} {:auth-conf "aaaaa", :watcher "bbbbbbb"}]* > * (println auth-conf)(println root)(println watcher)* > *)* > * > * > *I don't know what's it means like * > * > * > *(let [{:keys [root watcher auth-conf], :or {auth-conf "auth-conf", root > "root", watcher "watcher"}} {:auth-conf "aaaaa", :watcher "bbbbbbb"}])* > * > * > *codes* > * > * > *can some one help me, thanks* > > -- > -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send email to [email protected] > Note that posts from new members are moderated - please be patient with > your first post. > To unsubscribe from this group, send email to > [email protected] > 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 unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to [email protected] Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to [email protected] 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 unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
