<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>bitterharvest</author_name>
  <author_url>https://blog.hatena.ne.jp/bitterharvest/</author_url>
  <blog_title>bitterharvest’s diary</blog_title>
  <blog_url>https://bitterharvest.hatenablog.com/</blog_url>
  <categories>
    <anon>Haskellプログラミング講座（中級編）</anon>
  </categories>
  <description>２．プログラムで表現 数式を木構造に変換するプログラムをHaskellで実現する。数式が木構造に変換される様子をもう一度、図で示すと次のようになる。 複雑すぎて、Javaで実現しようとは思わない。直感的にHaskellでも苦労するかなと想像したが、取り越し苦労であった。数式から木構造への変換の様子をまとめると次のようになる。 ①値が来たときは、木構造の右隅にあるEmptyを値で変える。 ②加算が来たときは、加算のノードを作成し、これまでのTreeをその左側のノードに、右側にはEmptyのリーフをつける。 ③乗算が来たときは、木構造の右隅にある値のところに、乗算のノードを作成し、これまでの値をそ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbitterharvest.hatenablog.com%2Fentry%2F2014%2F08%2F19%2F090107&quot; title=&quot; Haskellで数式をビジュアルに（２） - bitterharvest’s diary&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>http://cdn-ak.f.st-hatena.com/images/fotolife/b/bitterharvest/20140819/20140819074932.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2014-08-19 09:01:07</published>
  <title> Haskellで数式をビジュアルに（２）</title>
  <type>rich</type>
  <url>https://bitterharvest.hatenablog.com/entry/2014/08/19/090107</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
