<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>falsandtru</author_name>
  <author_url>https://blog.hatena.ne.jp/falsandtru/</author_url>
  <blog_title>falsandtruのメモ帳</blog_title>
  <blog_url>https://falsandtru.hatenablog.com/</blog_url>
  <categories>
    <anon>Haskell</anon>
  </categories>
  <description>Haskellの差分リストは一般に([1,2,3] ++) . ([4,5,6] ++)のようにセクションで示される。しかしこれは連結の際に左側のリストの要素をたどって末尾を見るので計算量がリストの長さに比例して増加しO(n)となる。一方CTMCP(コンピュータプログラミングの概念・技法・モデル)では要素をたどらず直接末尾を見るので計算量がリストの長さに比例して増加せずO(1)となる実装がOzにより示され、そしてこの効率性が差分リストの特徴とされている。Haskellも遅延評価の場合は連結コストが使用時のコストに同化されO(1)となるかもしれないが正格評価の場合は連結時に直ちにO(n)のコスト…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ffalsandtru.hatenablog.com%2Fentry%2Fdifference-list-in-haskell&quot; title=&quot;Haskellの差分リストはなんちゃって差分リストではないか？ - falsandtruのメモ帳&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>2018-12-29 00:00:00</published>
  <title>Haskellの差分リストはなんちゃって差分リストではないか？</title>
  <type>rich</type>
  <url>https://falsandtru.hatenablog.com/entry/difference-list-in-haskell</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
