<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>thr3a</author_name>
  <author_url>https://blog.hatena.ne.jp/thr3a/</author_url>
  <blog_title>動かざることバグの如し</blog_title>
  <blog_url>https://blog.turai.work/</blog_url>
  <categories>
    <anon>elixir</anon>
  </categories>
  <description>環境 Elixir 1.x 結論 無名関数の場合はドット（.）が必要 名前付き関数の場合は不要 違いについて 他の言語やったあとにElixirやってると以下のようなエラーをよく起こす。 iex(1)&gt; add = fn a, b -&gt; a + b end #Function&lt;12.99386804/2 in :erl_eval.expr/5&gt; iex(2)&gt; add(1, 2) ** (CompileError) iex:2: undefined function add/2 実際には以下が正しい。 iex(2)&gt; add.(1, 2) 3 つまり関数呼び出し時にドットが抜けてたのだが、ドット…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.turai.work%2Fentry%2F20210110%2F1610211591&quot; title=&quot;Elixirで関数呼び出し時にドットを付ける/付けないの違い - 動かざることバグの如し&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>2021-01-10 01:59:51</published>
  <title>Elixirで関数呼び出し時にドットを付ける/付けないの違い</title>
  <type>rich</type>
  <url>https://blog.turai.work/entry/20210110/1610211591</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
