<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>cranebird</author_name>
  <author_url>https://blog.hatena.ne.jp/cranebird/</author_url>
  <blog_title>cranebirdの日記</blog_title>
  <blog_url>https://cranebird.hatenadiary.org/</blog_url>
  <categories>
  </categories>
  <description>Ptr, malloc の勉強のため Haskell でスタックを書いてみた。いろいろ間違っている可能性あり。 スタックは mallocBytes で確保する。 確保した領域へのポインタは(グローバル変数の替わりに)状態モナドで管理する。 -- Stack import Control.Monad.State import Foreign.Ptr import Foreign.Marshal.Alloc import Foreign.Storable stackSize :: Int stackSize = 12 intSize :: Int intSize = sizeOf (undefin…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fcranebird.hatenadiary.org%2Fentry%2F20141203&quot; title=&quot;Haskell でスタックを書く - cranebirdの日記&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2014-12-03 00:00:00</published>
  <title>Haskell でスタックを書く</title>
  <type>rich</type>
  <url>https://cranebird.hatenadiary.org/entry/20141203</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
