{"author_name":"ayato0211","provider_url":"https://hatena.blog","published":"2014-05-30 08:51:54","type":"rich","author_url":"https://blog.hatena.ne.jp/ayato0211/","height":"190","blog_url":"https://ayato.hateblo.jp/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fayato.hateblo.jp%2Fentry%2F20140530%2F1401407514\" title=\"destructuring-bind \u3063\u3066\u30b9\u30c6\u30ad\u3067\u3059\u306d - (define -ayalog &#39;())\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","description":"\u4f8b\u3048\u3070 Ruby \u3067\u306f\u3053\u3046\u3044\u3046\u3053\u3068\u304c\u51fa\u6765\u308b\u3002 a, b = [1, 2] a+b #=> 3 \u4fbf\u5229\u3067\u3059\u306d\u3002\u305d\u3057\u3066 Clojure \u3067\u306f\u3053\u3046\u3044\u3046\u3053\u3068\u304c\u51fa\u6765\u308b\u3002 (def m {:a 1, :b 2, :c 3}) (let [{a :a, c :c} m] (+ a c)) ;=> 4 (def v [100, 200, 300]) (let [{a 0, b 2} v] (+ a b)) ;=> 400 (let [[a, _, c] v] (+ a c)) ;=> 400 \u30ad\u30e2\u3044\u3067\u3059\u306d\uff57\u3002\u4e00\u7dd2\u306b Clojure \u3092\u52c9\u5f37\u3057\u3066\u3044\u308b\u5973\u306e\u5b50\u304c\u601d\u308f\u305a f word \u4f7f\u3046\u7a0b\u5ea6\u306b\u306f crazy \u3060\u3068\u601d\u3044\u307e\u2026","provider_name":"Hatena Blog","categories":["\u958b\u767a","Gauche","Clojure","Ruby"],"width":"100%","blog_title":"(define -ayalog '())","title":"destructuring-bind \u3063\u3066\u30b9\u30c6\u30ad\u3067\u3059\u306d","image_url":null,"url":"https://ayato.hateblo.jp/entry/20140530/1401407514","version":"1.0"}