{"version":"1.0","categories":["Haskell"],"author_url":"https://blog.hatena.ne.jp/DigitalGhost/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdechimal.hatenadiary.com%2Fentry%2F20091121%2F1258832687\" title=\"loop\u3068fix - \u30c7-mk6\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_name":"DigitalGhost","provider_url":"https://hatena.blog","title":"loop\u3068fix","image_url":null,"description":"\u8a71\u3068\u304b\u306f\u6c17\u304c\u5411\u3044\u305f\u3089\u66f8\u304f\u2026 decList x = x:if x == 0 then [] else decList (x - 1) fix $ \\f x->x:if x == 0 then [] else f (x - 1) \\f x->x:if x == 0 then [] else f (x - 1) fix :: (a->a)->a loop :: a (b, d) (c, d)->a b c fix f = f $ fix f loop f b = let (c, d) = f (b, d) in c \\f x->x:if x == 0 then [] else f (x - 1) \u2026","provider_name":"Hatena Blog","height":"190","url":"https://dechimal.hatenadiary.com/entry/20091121/1258832687","type":"rich","blog_title":"\u30c7-mk6","blog_url":"https://dechimal.hatenadiary.com/","width":"100%","published":"2009-11-21 04:44:47"}