{"author_url":"https://blog.hatena.ne.jp/n9d/","published":"2008-12-09 21:13:44","version":"1.0","height":"190","categories":[],"provider_name":"Hatena Blog","url":"https://n9d.hatenadiary.org/entry/20081209/1228824824","author_name":"n9d","blog_title":"\u8a08\u7b97\u6a5f\u3068\u622f\u308c\u308b\u65e5\u3005","title":"Gauche\u3067\u9b54\u65b9\u9663\u306b\u6311\u6226\u305d\u306e\uff14","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fn9d.hatenadiary.org%2Fentry%2F20081209%2F1228824824\" title=\"Gauche\u3067\u9b54\u65b9\u9663\u306b\u6311\u6226\u305d\u306e\uff14 - \u8a08\u7b97\u6a5f\u3068\u622f\u308c\u308b\u65e5\u3005\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","description":"Gauche\u3067\u9b54\u65b9\u9663\u306b\u6311\u6226\u305d\u306e\uff14haskell\u3067\u30d1\u30bf\u30fc\u30f3\u30de\u30c3\u30c1\u3092\u6559\u3048\u3066\u3082\u3089\u3063\u305f\u306e\u3067gauche\u306b\u3082match-lambda\u304c\u3042\u3063\u305f\u306e\u3092\u601d\u3044\u51fa\u3057\u305f\u3002 \u7d20\u76f4\u306b\u7d44\u3093\u3067\u307f\u308b (use srfi-1) (use util.combinations) (use util.match) (map print (filter (match-lambda ((a b c d e f g h i)(= (+ a b c) (+ d e f) (+ g h i) (+ a d g) (+ b e h) (+ c f i) (+ a e i) (+ c e g)))) (permutations (iota 9 1)\u2026","provider_url":"https://hatena.blog","type":"rich","blog_url":"https://n9d.hatenadiary.org/","width":"100%","image_url":null}