{"width":"100%","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsirocco.hatenadiary.org%2Fentry%2F20120114%2F1326489188\" title=\"Haskell \u3067\u5909\u6570\u3092\u4f7f\u3046\u3002(IORef\u3001State\u30e2\u30ca\u30c9\u3001ST\u30e2\u30ca\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>","type":"rich","version":"1.0","categories":["Haskell"],"url":"https://sirocco.hatenadiary.org/entry/20120114/1326489188","height":"190","author_url":"https://blog.hatena.ne.jp/sirocco/","blog_url":"https://sirocco.hatenadiary.org/","image_url":null,"provider_url":"https://hatena.blog","published":"2012-01-14 06:13:08","author_name":"sirocco","provider_name":"Hatena Blog","title":"Haskell \u3067\u5909\u6570\u3092\u4f7f\u3046\u3002(IORef\u3001State\u30e2\u30ca\u30c9\u3001ST\u30e2\u30ca\u30c9)","description":"\u5148\u306b\u4f5c\u3063\u305f\u96fb\u5353\u306e\u30ec\u30b8\u30b9\u30bf\u306e\u3088\u3046\u306b Haskell \u3067\u3082\u72b6\u614b\u3092\u4fdd\u6301\u3057\u3066\u304a\u304d\u305f\u3044\u3068\u304d\u304c\u3042\u308a\u307e\u3059\u3002 \u5148\u306e\u96fb\u5353\u3067\u306fIORef\u3092\u4f7f\u3063\u3066\u30ec\u30b8\u30b9\u30bf\u306e\u72b6\u614b\u3092\u4fdd\u6301\u3057\u307e\u3057\u305f\u3002 IORef > :m + Data.IORef > do{ x <- newIORef 1; modifyIORef x (+2); ret <-readIORef x; return ret} -- => 3 > :t do{ x <- newIORef 1;modifyIORef x (+2);ret <-readIORef x;return ret} do{ x <- newIORef 1;modifyIORef x (+2);ret\u2026","blog_title":"sirocco \u306e\u66f8\u3044\u3066\u3082\u3059\u3050\u306b\u5fd8\u308c\u308b\u30e1\u30e2"}