<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Naotsugu</author_name>
  <author_url>https://blog.hatena.ne.jp/Naotsugu/</author_url>
  <blog_title>A Memorandum</blog_title>
  <blog_url>https://blog1.mammb.com/</blog_url>
  <categories>
    <anon>Scala</anon>
  </categories>
  <description>可変長引数の定義 可変長引数にするには以下のように書けば def output(strs: String*) { strs.foreach(print) } output(&quot;hge1 &quot;, &quot;hoge2 &quot;, &quot;hoge3 &quot;) 以下の出力が得られます。 hge1 hoge2 hoge3 List[String]を渡す 可変長引数を取る関数にListを渡すと、 val hoges = &quot;hge1 &quot; :: &quot;hoge2 &quot; :: &quot;hoge3 &quot; :: Nil output2(hoges) 以下のようにエラーになります。 [error] found : List[java.lang.Strin…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog1.mammb.com%2Fentry%2F20100519%2F1274285392&quot; title=&quot;可変長引数としてリストを渡す - A Memorandum&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-05-19 01:09:52</published>
  <title>可変長引数としてリストを渡す</title>
  <type>rich</type>
  <url>https://blog1.mammb.com/entry/20100519/1274285392</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
