<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>zrbabbler</author_name>
  <author_url>https://blog.hatena.ne.jp/zrbabbler/</author_url>
  <blog_title>マクロツイーター</blog_title>
  <blog_url>https://zrbabbler.hatenablog.com/</blog_url>
  <categories>
    <anon>TeX</anon>
    <anon>プログラミング</anon>
  </categories>
  <description>末尾再帰というのは、文字通り「末尾で再帰呼出を行う」ことである。もう少しちゃんと言うと、関数の中で、最後に実行（評価）されるのが当該の関数自身の呼出（適用）であり、かつその呼出（適用）の戻り値（評価値）が元の関数実行の戻り値（評価値）になっている形のことをいう。 例えば、以下の Lua コードにおいて、path_field 関数の中にある再帰呼出は末尾再帰になっている。function path_field (obj, flds) if #flds == 0 then return obj else return path_field(obj[flds[1]], {unpack(flds, 2…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fzrbabbler.hatenablog.com%2Fentry%2F20110824%2F1314212046&quot; title=&quot;TeX での末尾再帰 (1) - マクロツイーター&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>2011-08-24 03:54:06</published>
  <title>TeX での末尾再帰 (1)</title>
  <type>rich</type>
  <url>https://zrbabbler.hatenablog.com/entry/20110824/1314212046</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
