<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>sirocco</author_name>
  <author_url>https://blog.hatena.ne.jp/sirocco/</author_url>
  <blog_title>sirocco の書いてもすぐに忘れるメモ</blog_title>
  <blog_url>https://sirocco.hatenadiary.org/</blog_url>
  <categories>
    <anon>Haskell</anon>
  </categories>
  <description>-- 逆ポーランド記法評価器 -- calc :: String -&gt; [Float] calc = foldl f [] . words where f (x:y:zs) &quot;+&quot; = y+x:zs f (x:y:zs) &quot;-&quot; = y-x:zs f (x:y:zs) &quot;*&quot; = y*x:zs f (x:y:zs) &quot;/&quot; = y/x:zs f xs y = read y : xs 分かりやすく変数名を変えてみる。 calc :: String -&gt; [Float] calc string = foldl fnc [] (words string) where -- 演算子のときはスタックから…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsirocco.hatenadiary.org%2Fentry%2F20090606%2F1244235986&quot; title=&quot;http://ja.wikipedia.org/wiki/Haskell の逆ポーランド記法評価器 - sirocco の書いてもすぐに忘れるメモ&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>2009-06-06 06:06:26</published>
  <title>http://ja.wikipedia.org/wiki/Haskell の逆ポーランド記法評価器</title>
  <type>rich</type>
  <url>https://sirocco.hatenadiary.org/entry/20090606/1244235986</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
