<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>faith_and_brave</author_name>
  <author_url>https://blog.hatena.ne.jp/faith_and_brave/</author_url>
  <blog_title>Faith and Brave - C++で遊ぼう</blog_title>
  <blog_url>https://faithandbrave.hateblo.jp/</blog_url>
  <categories>
    <anon>Scala</anon>
  </categories>
  <description>ScalaにもEitherあったんだな、と。 object Main { def foo(x : Int) : Either[String, Int] = x match { case 0 =&gt; Left(&quot;invalid arguments!&quot;) case _ =&gt; Right(x) } def result(a : Either[String, Int]) : Unit = a match { case Left(msg) =&gt; println(&quot;Error : &quot; + msg) case Right(x) =&gt; println(x) } def main(args: Array[Stri…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ffaithandbrave.hateblo.jp%2Fentry%2F20101014%2F1287040025&quot; title=&quot; Either - Faith and Brave - C++で遊ぼう&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>2010-10-14 16:07:05</published>
  <title> Either</title>
  <type>rich</type>
  <url>https://faithandbrave.hateblo.jp/entry/20101014/1287040025</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
