<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>gengar</author_name>
  <author_url>https://blog.hatena.ne.jp/gengar/</author_url>
  <blog_title>かきろく</blog_title>
  <blog_url>https://kaki.hatenadiary.jp/</blog_url>
  <categories>
  </categories>
  <description>先日出題された http://golf.shinh.org/p.rb?Peano+arithmetic が良問だったので、ブログのリハビリがてらに参戦記を書いてみる。 問題はリンク先参照。 Ruby 初めに、あなごるでRubyと言われているのはRuby1.8.7である。Ruby2.2もRuby2という名前で用意されている。ゴルフ場はRuby1.8時代から運営されていたが、Ruby1.9以降がゴルフ的には別ゲーということで、このようになった。 早速、本題。中置演算子式が与えられるので、まずevalでできないか考える。Sを優先度の高い前置succ演算子として読めればよいので、gsub /S/, &quot;…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkaki.hatenadiary.jp%2Fentry%2F2023%2F12%2F19%2F164328&quot; title=&quot;あなごる/Peano Arithmetic - かきろく&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>2023-12-19 16:43:28</published>
  <title>あなごる/Peano Arithmetic</title>
  <type>rich</type>
  <url>https://kaki.hatenadiary.jp/entry/2023/12/19/164328</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
