<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>bleis-tift</author_name>
  <author_url>https://blog.hatena.ne.jp/bleis-tift/</author_url>
  <blog_title>ぐるぐる～</blog_title>
  <blog_url>https://bleis-tift.hatenablog.com/</blog_url>
  <categories>
    <anon>C#</anon>
    <anon>Scala</anon>
  </categories>
  <description>Scala ではタプルをパターンマッチで分解してくれるので、タプルが非常に使いやすいです。 しかし、C# にはパターンマッチがないので、いちいち Item1 やら _1 やらでアクセスする必要があります。 例えば、 var strs = new[] { &quot;aaa&quot;, &quot;bbb&quot;, &quot;ccc&quot; }; var idxs = new[] { 0, 1, 2 }; var hoge = strs.Zip(idxs) .Select(str_i =&gt; string.Format(&quot;{1}:{0}&quot;, str_i._1, str_i._2)); こんな感じのコードは面倒ですし、読みやすいとはいえません (…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbleis-tift.hatenablog.com%2Fentry%2F20100419%2F1271649873&quot; title=&quot;タプルを分解して渡す - ぐるぐる～&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-04-19 13:04:33</published>
  <title>タプルを分解して渡す</title>
  <type>rich</type>
  <url>https://bleis-tift.hatenablog.com/entry/20100419/1271649873</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
