<?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>Groovy</anon>
  </categories>
  <description>Groovy 1.8 から closure composition が使えるようになりました。というかまだBetaですが。 closure composition は &gt; を使います。 def plus2 = { it + 2 } def times3 = { it * 3 } def composed1 = plus2 &lt;&lt; times3 composed1 は times3 の関数の結果を plus2 に適用する関数となります。composed1 は以下のような結果となります。 composed1(3) // plus2(times3(3)) なので 11 composed1(4) // …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog1.mammb.com%2Fentry%2F20110213%2F1297552126&quot; title=&quot;Groovy 1.8 のクロージャ合成 - 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>2011-02-13 08:08:46</published>
  <title>Groovy 1.8 のクロージャ合成</title>
  <type>rich</type>
  <url>https://blog1.mammb.com/entry/20110213/1297552126</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
