<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>fumiexcel</author_name>
  <author_url>https://blog.hatena.ne.jp/fumiexcel/</author_url>
  <blog_title>モナドとわたしとコモナド</blog_title>
  <blog_url>https://fumieval.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>qiita.com C++、Rust、Pythonなど、他の言語では当たり前のように多用される動的配列だが、Haskell実装は(開発を始めた時点では)見当たらなかったので作ってみたお話*1。 動的配列とはミュータブルな配列の一種で、通常の配列操作だけでなく、末尾への要素の追加・削除が定数時間で行える構造である。確保しておいた領域がいっぱいになったら、その2倍の大きさの領域を確保するという方法によって、漸近的には要素の追加は定数時間となる。 内部の配列には、デファクトスタンダードであるvectorパッケージを用いる。Vectorには無印(boxed)、Unboxed、Storableの三種類の…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ffumieval.hatenablog.com%2Fentry%2F2020%2F12%2F18%2F214626&quot; title=&quot;動的配列の無難なHaskell実装 - モナドとわたしとコモナド&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>2020-12-18 21:46:26</published>
  <title>動的配列の無難なHaskell実装</title>
  <type>rich</type>
  <url>https://fumieval.hatenablog.com/entry/2020/12/18/214626</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
