{"published":"2010-05-04 10:23:35","image_url":null,"width":"100%","version":"1.0","blog_url":"https://sirocco.hatenadiary.org/","title":"and  \u3068 or \u306e\u8a55\u4fa1\u3092\u77ed\u7d61\u3059\u308b\u4ed5\u7d44\u307f","height":"190","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsirocco.hatenadiary.org%2Fentry%2F20100504%2F1272936215\" title=\"and  \u3068 or \u306e\u8a55\u4fa1\u3092\u77ed\u7d61\u3059\u308b\u4ed5\u7d44\u307f - 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>","categories":["Haskell"],"author_name":"sirocco","blog_title":"sirocco \u306e\u66f8\u3044\u3066\u3082\u3059\u3050\u306b\u5fd8\u308c\u308b\u30e1\u30e2","type":"rich","url":"https://sirocco.hatenadiary.org/entry/20100504/1272936215","provider_name":"Hatena Blog","provider_url":"https://hatena.blog","description":"and \u30ea\u30b9\u30c8\u306e\u9014\u4e2d\u306b False \u306e\u8981\u7d20\u304c\u73fe\u308c\u305f\u308a\u3001or \u30ea\u30b9\u30c8\u3092\u8a55\u4fa1\u3057\u3066\u3044\u308b\u9014\u4e2d\u306bTrue \u304c\u73fe\u308c\u308c\u3070\u30ea\u30b9\u30c8\u3092\u6700\u5f8c\u307e\u3067\u8a55\u4fa1\u3057\u306a\u304f\u3066\u3082\u7d50\u679c\u304c\u78ba\u5b9a\u3057\u307e\u3059\u3002\u3053\u306e\u3088\u3046\u306a\u4ed5\u7d44\u307f\u3092\u77ed\u7d61\u3068\u8a00\u3044\u307e\u3059\u3002 import Debug.Trace myFoldl f z0 xs0 = lgo z0 xs0 where lgo z [] = trace(show z) z lgo z (x:xs) = trace(\"go (f \" ++ show z ++ \" \" ++ show x ++ \") xs\") (lgo (f z x) xs) myFoldr k z xs = go xs where -- \u30ea\u30b9\u30c8\u306e\u8981\u7d20\u2026","author_url":"https://blog.hatena.ne.jp/sirocco/"}