<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>plasticscafe</author_name>
  <author_url>https://blog.hatena.ne.jp/plasticscafe/</author_url>
  <blog_title>Reinvention of the Wheel</blog_title>
  <blog_url>https://plasticscafe.hatenadiary.org/</blog_url>
  <categories>
    <anon>scala</anon>
  </categories>
  <description>[まとめ] LL脳がscalaの勉強を始めたよ LL脳がscalaの勉強を始めたよ その54 Scalaコップ本16章の続きをやっていきますよ、今回はパラメータに関数をとる高階メソッドの後半からやっていきます(ﾟДﾟ)ﾉ リストを対象とする述語関数：foralとexists 指定条件に適合する要素が一つでも存在するかどうかを判定するexistsと、全ての要素が条件に適合するかどうかを判定するforallデスとりあえず、まあ、サンプルです // 0が要素に一つでもあればTrueですね scala&gt; List(0,1,2,3,4,5).exists(_ == 0) res6: Boolean = …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fplasticscafe.hatenadiary.org%2Fentry%2F20100826%2F1282795166&quot; title=&quot;LL脳がscalaの勉強を始めたよ その55 - Reinvention of the Wheel&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-08-26 12:59:26</published>
  <title>LL脳がscalaの勉強を始めたよ その55</title>
  <type>rich</type>
  <url>https://plasticscafe.hatenadiary.org/entry/20100826/1282795166</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
