<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yui_study</author_name>
  <author_url>https://blog.hatena.ne.jp/yui_study/</author_url>
  <blog_title>唯の楽しいお勉強生活</blog_title>
  <blog_url>https://yui-study.hatenadiary.org/</blog_url>
  <categories>
    <anon>Groovy</anon>
    <anon>メモ</anon>
  </categories>
  <description>括弧です括弧！！ def list = [1,2,3,4,5] def i = 2 def j = 3 assert list[(i)] == 3 assert list[(i)..(j)] == [3,4] def map = [a:&quot;aa&quot;, b:&quot;bb&quot;, c:&quot;cc&quot;] def s = &quot;a&quot; assert map[(s)] == &quot;aa&quot; 前もmapの時にはまったんだよなぁ。。。括弧です括弧！！ GStringをよく使うせいか、map[${s}]みたいにやりたくなっちゃうのはなんでだろう。</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyui-study.hatenadiary.org%2Fentry%2F20111005%2F1317816599&quot; title=&quot;Listの範囲を指定する際に変数を使おうとしてしばらくハマったのでメモ - 唯の楽しいお勉強生活&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>2011-10-05 21:09:59</published>
  <title>Listの範囲を指定する際に変数を使おうとしてしばらくハマったのでメモ</title>
  <type>rich</type>
  <url>https://yui-study.hatenadiary.org/entry/20111005/1317816599</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
