<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>fumokmm</author_name>
  <author_url>https://blog.hatena.ne.jp/fumokmm/</author_url>
  <blog_title>No Programming, No Life</blog_title>
  <blog_url>https://npnl.hatenablog.jp/</blog_url>
  <categories>
    <anon>Groovy</anon>
    <anon>FizzBuzz</anon>
    <anon>関数型</anon>
  </categories>
  <description>はじめに なるべく関数型を意識して書いてみました。 なんとか140文字に収めることができました。 a={n,s-&gt;['']*n+s};f={n-&gt;[0..n,a(3,'fizz')*n,a(5,'buzz')*n].transpose().collect{i,f,b-&gt;[f,b].any()?f+b:i}};f(100).drop(1).each{println(it)}2012-05-18 00:46:36 via YoruFukurou ノート ごちゃごちゃしてて分かりにくいので、読みやすくなるように軽く解説。 aクロージャ a={n,s-&gt;['']*n+s} まずはこれですが、n(数値を…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnpnl.hatenablog.jp%2Fentry%2F2012%2F05%2F18%2F014104&quot; title=&quot;Groovyで関数型を意識したFizzBuzzを書いてみた - No Programming, No Life&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>http://a0.twimg.com/profile_images/2073570672/image_normal.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2012-05-18 01:41:04</published>
  <title>Groovyで関数型を意識したFizzBuzzを書いてみた</title>
  <type>rich</type>
  <url>https://npnl.hatenablog.jp/entry/2012/05/18/014104</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
