<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>computeralgebra</author_name>
  <author_url>https://blog.hatena.ne.jp/computeralgebra/</author_url>
  <blog_title>非専門的シンギュラリティー研究所</blog_title>
  <blog_url>https://computeralgebra.hatenablog.com/</blog_url>
  <categories>
    <anon>関数プログラミング</anon>
    <anon>関数プログラミングと無限論理多項式</anon>
  </categories>
  <description>Go の例(1) Go ではクロージャーで実装しました。イテレーターを表すもの(構造体)などを型ごとに複数作っているので長くなります。Goはこのようなプログラムには向いていないようです。xyz は構造体の自分自身を表す名前なのですが self などは使えないようで何が良いのかわからないので xyz になっています。 package main import ( &quot;fmt&quot; &quot;strconv&quot; ) type IteratorSimpleImpl_int struct { next func() bool getCurrent func() int setCurrent func(int) } fu…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fcomputeralgebra.hatenablog.com%2Fentry%2F2022%2F02%2F08%2F021229&quot; title=&quot;関数プログラミングと無限論理多項式(13) - 非専門的シンギュラリティー研究所&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>https://m.media-amazon.com/images/I/51brU4doQFL._SL500_.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2022-02-08 02:12:29</published>
  <title>関数プログラミングと無限論理多項式(13)</title>
  <type>rich</type>
  <url>https://computeralgebra.hatenablog.com/entry/2022/02/08/021229</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
