<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Kazuhira</author_name>
  <author_url>https://blog.hatena.ne.jp/Kazuhira/</author_url>
  <blog_title>CLOVER🍀</blog_title>
  <blog_url>https://kazuhira-r.hatenablog.com/</blog_url>
  <categories>
    <anon>Scala</anon>
    <anon>Scalaz</anon>
  </categories>
  <description>2012年、明けましておめでとうございます。更新ペースはマイペースだと思いますが、頑張って書いていこうと思いますので、今年もどうぞよろしくお願い致します。さて、前々回〜前回の間より、さらに間隔が空いてしまいましたが、今度はOptionWです。Optionの拡張だから簡単かな？と思っていたら、これがかなりハマりました…。 ? これはわかりやすいですね。BooleanWの時とほぼ同じで、Conditionalトレイトが返るので「|」メソッドと共に使用します。 println(&quot;Some(10) ? =&gt; &quot; + { some(10) ? &quot;ten&quot; | &quot;zero&quot; }) println(&quot;Non…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkazuhira-r.hatenablog.com%2Fentry%2F20120101%2F1325412120&quot; title=&quot;Scalaz OptionW - CLOVER🍀&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>2012-01-01 19:02:00</published>
  <title>Scalaz OptionW</title>
  <type>rich</type>
  <url>https://kazuhira-r.hatenablog.com/entry/20120101/1325412120</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
