{"height":"190","provider_url":"https://hatena.blog","description":"Prelude> foldl (+) 10 [1 ,2 ,3 ] 16 Prelude> foldr (+) 10 [1 ,2 ,3 ] 16 Prelude> foldl (\\a b -> a + b) 10 [1 ,2 ,3 ] 16 Prelude> foldr (\\a b -> a + b) 10 [1 ,2 ,3 ] 16 \u9055\u3044\u304c\u5206\u304b\u3089\u306a\u3044\u306e\u3067\u6587\u5b57\u5217\u306e\u9023\u7d50\u3092\u3055\u305b\u3066\u307f\u308b\u3002 Prelude> foldl (\\a b -> \"[\"++ a ++ b ++ \"]\") \" Start \" [\" 1 \",\" 2 \",\" 3 \"] \"[[[ Start 1 ] 2 ] 3 ]\" Prelude> \u2026","version":"1.0","type":"rich","published":"2009-06-05 05:46:26","blog_title":"sirocco \u306e\u66f8\u3044\u3066\u3082\u3059\u3050\u306b\u5fd8\u308c\u308b\u30e1\u30e2","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsirocco.hatenadiary.org%2Fentry%2F20090605%2F1244234786\" title=\"foldr \u306e\u5b9f\u884c\u9806\u5e8f - 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>","provider_name":"Hatena Blog","title":"foldr \u306e\u5b9f\u884c\u9806\u5e8f","categories":["Haskell"],"width":"100%","author_url":"https://blog.hatena.ne.jp/sirocco/","author_name":"sirocco","blog_url":"https://sirocco.hatenadiary.org/","url":"https://sirocco.hatenadiary.org/entry/20090605/1244234786","image_url":null}