{"description":"u-no\u3055\u3093\u3068\u3053\u308d\u3088\u308a(http://d.hatena.ne.jp/u-no/20041214#p4)\u3002 \u548c\u304c6\u3068\u306a\u308b4\u8981\u7d20\u306e\u30ea\u30b9\u30c8\u3092\u8fd4\u3059\u95a2\u6570\u3002\u30bd\u30fc\u30b9 test = [(a, b, c, d) | a <- [0..6], b <- [0..6], c <- [0..6], d <- [0..6], a + b + c + d == 6]hugs(haskell\u30a4\u30f3\u30bf\u30d7\u30ea\u30bf)\u3067\u306etest\u306e\u5b9f\u884c\u7d50\u679c Main> test [(0,0,0,6),(0,0,1,5),(0,0,2,4),(0,0,3,3),(0,0,4,2),(0,0,5,1),(0,0,6,0),(0,1,0,5\\ ),(0,1,\u2026","blog_url":"https://sshi.hatenadiary.org/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsshi.hatenadiary.org%2Fentry%2F20041215%2Fp3\" title=\" \u30b7\u30ea\u30fc\u30ba \u300c\u95a2\u6570\u578b\u8a00\u8a9ehaskell\u306e\u6df1\u9060\u300d \u30ea\u30b9\u30c8\u306e\u5185\u5305\u5b9a\u7fa9 - sshi.Continual\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","title":" \u30b7\u30ea\u30fc\u30ba \u300c\u95a2\u6570\u578b\u8a00\u8a9ehaskell\u306e\u6df1\u9060\u300d \u30ea\u30b9\u30c8\u306e\u5185\u5305\u5b9a\u7fa9","provider_name":"Hatena Blog","url":"https://sshi.hatenadiary.org/entry/20041215/p3","author_url":"https://blog.hatena.ne.jp/sshi/","published":"2004-12-15 00:00:02","author_name":"sshi","type":"rich","categories":["haskell"],"provider_url":"https://hatena.blog","blog_title":"sshi.Continual","height":"190","width":"100%","image_url":null,"version":"1.0"}