<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kryozahiro</author_name>
  <author_url>https://blog.hatena.ne.jp/kryozahiro/</author_url>
  <blog_title>kryozahiro’s diary</blog_title>
  <blog_url>https://kryozahiro.hateblo.jp/</blog_url>
  <categories>
    <anon>Haskell</anon>
  </categories>
  <description>Twitter見てたらFizzBuzzの話題が流れてたので書いてみた。最初に考えたのがこれ。引数 n 以下のFizzBuzzを文字列にして返す再帰関数を定義した。 fizzbuzz 1 = &quot;1&quot; fizzbuzz n = fizzbuzz (n - 1) ++ &quot; &quot; ++ case (mod n 3, mod n 5) of (0, 0) -&gt; &quot;FizzBuzz&quot; (0, _) -&gt; &quot;Fizz&quot; (_, 0) -&gt; &quot;Buzz&quot; otherwise -&gt; show n main = getLine &gt;&gt;= putStrLn . fizzbuzz . read もっと簡単な書き方をしてる…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkryozahiro.hateblo.jp%2Fentry%2F20100216%2F1266300593&quot; title=&quot;HaskellでFizzBuzzやってみた - kryozahiro’s diary&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-02-16 15:09:53</published>
  <title>HaskellでFizzBuzzやってみた</title>
  <type>rich</type>
  <url>https://kryozahiro.hateblo.jp/entry/20100216/1266300593</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
