<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>cipepser</author_name>
  <author_url>https://blog.hatena.ne.jp/cipepser/</author_url>
  <blog_title>逆さまにした</blog_title>
  <blog_url>https://cipepser.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>A Tour of GoのFunction valuesを読んでいて、色々勘違いしていてわからなくなってしまったので、手を動かしてわかるようになるまでのメモ書きです。 要旨 勘違いしていたのはA Tour of Goの以下の記載についてです。 関数も変数です。他の変数のように関数を渡すことができます。 どうしても関数を変数に渡した際に「戻り値を渡している」と考えていまい、例題が理解できませんでした。 理解に至った考え方は 「関数そのものを変数に渡している」 です。 例: A Tour of GoのFunction values ここでは関数computeが定義されています。 func comp…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fcipepser.hatenablog.com%2Fentry%2F2017%2F02%2F18%2F030554&quot; title=&quot;Golangの関数リテラルについてメモ書き - 逆さまにした&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>2017-02-18 03:05:54</published>
  <title>Golangの関数リテラルについてメモ書き</title>
  <type>rich</type>
  <url>https://cipepser.hatenablog.com/entry/2017/02/18/030554</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
