<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kazu-yamamoto</author_name>
  <author_url>https://blog.hatena.ne.jp/kazu-yamamoto/</author_url>
  <blog_title>あどけない話</blog_title>
  <blog_url>https://kazu-yamamoto.hatenablog.jp/</blog_url>
  <categories>
    <anon>Haskell</anon>
    <anon>JavaScript</anon>
    <anon>Ruby</anon>
  </categories>
  <description>Ruby ではブロックが自慢らしい。制御構造を自由に作れる感じがするのだと言う。 obj.foo do |x,y| x を使う y を使う end これは、高階関数の最後の引数として無名関数を渡していることに他ならない。他の言語でどうなるか考えてみる。JavaScript ではこうなる。 foo(arg,function(x,y) { x を使う; y を使う; }); たしかに、function とか閉じ括弧が冗長な印象を受ける。Haskell で書くとこうなる。 foo xs $ \x y -&gt; do x を使う y を使う end がない分、Ruby よりもすっきりした感じ。Python…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkazu-yamamoto.hatenablog.jp%2Fentry%2F20090630%2F1246334642&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>2009-06-30 13:04:02</published>
  <title>高階関数と無名関数</title>
  <type>rich</type>
  <url>https://kazu-yamamoto.hatenablog.jp/entry/20090630/1246334642</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
