{"provider_name":"Hatena Blog","url":"https://cranebird.hatenadiary.org/entry/20141203","author_url":"https://blog.hatena.ne.jp/cranebird/","title":"Haskell \u3067\u30b9\u30bf\u30c3\u30af\u3092\u66f8\u304f","published":"2014-12-03 00:00:00","width":"100%","type":"rich","height":"190","categories":[],"author_name":"cranebird","description":"Ptr, malloc \u306e\u52c9\u5f37\u306e\u305f\u3081 Haskell \u3067\u30b9\u30bf\u30c3\u30af\u3092\u66f8\u3044\u3066\u307f\u305f\u3002\u3044\u308d\u3044\u308d\u9593\u9055\u3063\u3066\u3044\u308b\u53ef\u80fd\u6027\u3042\u308a\u3002 \u30b9\u30bf\u30c3\u30af\u306f mallocBytes \u3067\u78ba\u4fdd\u3059\u308b\u3002 \u78ba\u4fdd\u3057\u305f\u9818\u57df\u3078\u306e\u30dd\u30a4\u30f3\u30bf\u306f(\u30b0\u30ed\u30fc\u30d0\u30eb\u5909\u6570\u306e\u66ff\u308f\u308a\u306b)\u72b6\u614b\u30e2\u30ca\u30c9\u3067\u7ba1\u7406\u3059\u308b\u3002 -- Stack import Control.Monad.State import Foreign.Ptr import Foreign.Marshal.Alloc import Foreign.Storable stackSize :: Int stackSize = 12 intSize :: Int intSize = sizeOf (undefin\u2026","version":"1.0","provider_url":"https://hatena.blog","blog_url":"https://cranebird.hatenadiary.org/","blog_title":"cranebird\u306e\u65e5\u8a18","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fcranebird.hatenadiary.org%2Fentry%2F20141203\" title=\"Haskell \u3067\u30b9\u30bf\u30c3\u30af\u3092\u66f8\u304f - cranebird\u306e\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","image_url":null}