<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>jyukutyo</author_name>
  <author_url>https://blog.hatena.ne.jp/jyukutyo/</author_url>
  <blog_title>Fight the Future</blog_title>
  <blog_url>https://www.sakatakoichi.com/</blog_url>
  <categories>
    <anon>programming</anon>
  </categories>
  <description>次のExampleはforのことみたいだったけど、コードが長いので少し自分で調べてみた。 forループは文法ではなく，for-comprehensionという一種のシンタックスシュガーして定義され，map, filter等に変換される。 第3回 Scala言語を探検する（1）：ITpro ということなので、試してみる。 package sample.snippet object ForSample extends Application { for (val i &lt;- 1 to 10) println(i) } で、このコードに対してscalac -Xprint:nameを使えば、デシュガーで…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.sakatakoichi.com%2Fentry%2F20081023%2F1224748800&quot; title=&quot;Scalaのfor文はシンタックスシュガー - Fight the Future&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>2008-10-24 09:00:00</published>
  <title>Scalaのfor文はシンタックスシュガー</title>
  <type>rich</type>
  <url>https://www.sakatakoichi.com/entry/20081023/1224748800</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
