<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>j5ik2o</author_name>
  <author_url>https://blog.hatena.ne.jp/j5ik2o/</author_url>
  <blog_title>かとじゅんの技術日誌</blog_title>
  <blog_url>https://blog.j5ik2o.me/</blog_url>
  <categories>
    <anon>Scala</anon>
    <anon>備忘録</anon>
  </categories>
  <description>とりあえず、リストの宣言 scala&gt; var list = List(1,2,3,4,5) list: List[Int] = List(1, 2, 3, 4, 5)繰り返し処理をかいてみる。 scala&gt; list.foreach(println) 1 2 3 4 5これも同じことができる。 scala&gt; for( i &lt;- list ) println(i) 1 2 3 4 5戻り値は返していない。偶数だけ返すにはこれ。 scala&gt; list.filter(i =&gt; i % 2 == 0) res20: List[Int] = List(2, 4)アホみたいに簡単にかける。表示してみる…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.j5ik2o.me%2Fentry%2F20101029%2F1288379093&quot; title=&quot; 今日のScala - かとじゅんの技術日誌&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-29 04:04:53</published>
  <title> 今日のScala</title>
  <type>rich</type>
  <url>https://blog.j5ik2o.me/entry/20101029/1288379093</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
