<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>penguinwatcher</author_name>
  <author_url>https://blog.hatena.ne.jp/penguinwatcher/</author_url>
  <blog_title>メモ日記</blog_title>
  <blog_url>https://penguinwatcher.hatenadiary.org/</blog_url>
  <categories>
    <anon>PG</anon>
    <anon>Haskell</anon>
    <anon>SICP</anon>
  </categories>
  <description>再帰的手続きには、再帰的プロセスと反復的プロセスのふたつの種類がある(そうだ)。 階乗計算の例で言うと、 再帰的プロセス -- 階乗(再帰) myfact_r n = if n == 1 then 1 else n * myfact_r (n-1)これは遅延演算を行っている。再帰の最後になってみないと値がわからない 一方の反復的プロセスでは、再帰のひとつひとつの過程でその時点での値が得られている。 これを状態変数と呼ぶ(らしい)。 反復的プロセス -- 階乗(反復) myfact_i n = let { myfact_iter product cnt max_cnt = if cnt &gt; ma…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpenguinwatcher.hatenadiary.org%2Fentry%2F20061105%2F1162752770&quot; title=&quot; 再帰的プロセスと反復的プロセス - メモ日記&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-05 03:52:50</published>
  <title> 再帰的プロセスと反復的プロセス</title>
  <type>rich</type>
  <url>https://penguinwatcher.hatenadiary.org/entry/20061105/1162752770</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
