<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>E_Mattsan</author_name>
  <author_url>https://blog.hatena.ne.jp/E_Mattsan/</author_url>
  <blog_title>エンジニアのソフトウェア的愛情</blog_title>
  <blog_url>https://blog.emattsan.org/</blog_url>
  <categories>
    <anon>プログラミング言語</anon>
  </categories>
  <description>必要に迫られて、タブを空白に展開する機能が必要になり、自分でコードを書く。行に分割すれば、改行を考えなくてよいので、単純に一行分の文字列を展開するものです。考えた手順はこんな感じ。 文字列から一文字ずつ読み込み、タブ文字でなかったらそのまま。 タブ文字だったら、必要な空白文字列に置き換える。 必要な空白文字列の長さは、タブの桁数から1までの間のいずれか。 空白文字列の長さは、一文字読み込むたびに1ずつ減らし、0になる場合にはタブの桁数にする。 タブ文字を置き換えたときは、空白文字の長さはタブの桁数にする。 読み込む文字がなくなったらおしまい。 我ながら、あまり文章がよくないですが、要はタブを空…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.emattsan.org%2Fentry%2F20061130%2F1164893031&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>2006-11-30 22:23:51</published>
  <title>Haskellのちから</title>
  <type>rich</type>
  <url>https://blog.emattsan.org/entry/20061130/1164893031</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
