{"published":"2012-01-11 10:14:44","type":"rich","height":"190","provider_name":"Hatena Blog","author_url":"https://blog.hatena.ne.jp/syou6162/","image_url":null,"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.yasuhisay.info%2Fentry%2F20120111%2F1326244484\" title=\"pvalues\u3068\u304b - yasuhisa&#39;s blog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","version":"1.0","categories":["Clojure"],"description":"clojure\u306f\u4e26\u884c\u51e6\u7406\u3092\u5f97\u610f\u3068\u3057\u3066\u3044\u308b\u306e\u3067\u5404\u51e6\u7406\u304c\u72ec\u7acb\u3057\u3066\u3067\u304d\u308b\u5834\u5408\u3001\u4e26\u884c\u3067\u51e6\u7406\u3092\u3055\u305b\u308b\u3068\u9ad8\u901f\u5316\u3067\u304d\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002\u4ee3\u8868\u7684\u306a\u95a2\u6570\u3068\u3057\u3066\u306fpmap\u3001pvalues\u3001pcall\u306a\u3069\u3002 pmap vector\u306e\u5404\u8981\u7d20\u306b\u95a2\u3057\u3066\u3001\u3042\u308b\u51e6\u7406\u3092\u56de\u3057\u305f\u3044\u3068\u304b\u306e\u5834\u5408\u3001pmap\u304c\u3088\u3044\u3067\u3057\u3087\u3046\u3002\u305f\u3076\u3093\u4e00\u756a\u3053\u308c\u304c\u3088\u304f\u4f7f\u3046\u3002 user=> (pmap #(+ 1 %) [1 2 3 4 5]) (2 3 4 5 6) \u3053\u3053\u3067\u306f+1\u3059\u308b\u3060\u3051\u306e\u8efd\u3044\u51e6\u7406\u3067\u3059\u304c\u3001pmap\u3092\u3059\u308b\u3088\u3046\u306a\u5834\u5408\u306f\u3042\u308b\u7a0b\u5ea6\u91cd\u3044\u95a2\u6570\u3067\u306a\u3044\u3068\u30aa\u30fc\u30d0\u30fc\u30d8\u30c3\u30c9\u306e\u307b\u3046\u304c\u5927\u304d\u304f\u306a\u3063\u3066\u3057\u307e\u3044\u307e\u3059\u3002\u305d\u3046\u3044\u3046\u5834\u5408\u306f\u3088\u304fsequence\u3092partition\u3057\u3066\u304b\u3089pm\u2026","blog_title":"yasuhisa's blog","title":"pvalues\u3068\u304b","width":"100%","url":"https://www.yasuhisay.info/entry/20120111/1326244484","blog_url":"https://www.yasuhisay.info/","author_name":"syou6162","provider_url":"https://hatena.blog"}