{"type":"rich","height":"190","url":"https://sirocco.hatenadiary.org/entry/20100327/1269677833","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsirocco.hatenadiary.org%2Fentry%2F20100327%2F1269677833\" title=\"\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0 Haskell \u8aad\u66f8\u30e1\u30e2 5.2 \u30ea\u30b9\u30c8\u5185\u5305\u8868\u8a18\u30fb\u30ac\u30fc\u30c9 - sirocco \u306e\u66f8\u3044\u3066\u3082\u3059\u3050\u306b\u5fd8\u308c\u308b\u30e1\u30e2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","published":"2010-03-27 17:17:13","provider_url":"https://hatena.blog","blog_title":"sirocco \u306e\u66f8\u3044\u3066\u3082\u3059\u3050\u306b\u5fd8\u308c\u308b\u30e1\u30e2","image_url":null,"provider_name":"Hatena Blog","author_url":"https://blog.hatena.ne.jp/sirocco/","blog_url":"https://sirocco.hatenadiary.org/","title":"\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0 Haskell \u8aad\u66f8\u30e1\u30e2 5.2 \u30ea\u30b9\u30c8\u5185\u5305\u8868\u8a18\u30fb\u30ac\u30fc\u30c9","categories":["Haskell"],"version":"1.0","description":"\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0 Haskell 5.2 \u30ea\u30b9\u30c8\u5185\u5305\u8868\u8a18\u30fb\u30ac\u30fc\u30c9 \u30ac\u30fc\u30c9\u306f\u30ea\u30b9\u30c8\u306e\u524d\u65b9\u3067\u751f\u6210\u3057\u305f\u5024\u3092\u9593\u5f15\u304f\u3002 Prelude> [x|x<-[1..10]] [1,2,3,4,5,6,7,8,9,10] Prelude> [x|x<-[1..10], even x] [2,4,6,8,10] Prelude> [x|x<-[1..10], even x, x > 5] [6,8,10] 1\u304b\u3089n\u307e\u3067\u306e\u7d04\u6570\u3092\u6c42\u3081\u308b\u3002 Prelude> let factors n = [x|x<-[1..n], n `mod` x == 0] Prelude> factors 15 [1,3,5,15] \u7d04\u6570\u304c1\u3068\u2026","width":"100%","author_name":"sirocco"}