• ☆ Yσɠƚԋσʂ ☆OPM
    link
    22 years ago

    oh yeah this kind destructuring was a available for a while, although it’s generally better to just pass a map I find.

    • @vi21
      link
      22 years ago

      I always defined a function like below and passed a map.

      (defn f [{:keys [a b]}] 
         (println a b))
      

      So now I have choices.