<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>simotin13</author_name>
  <author_url>https://blog.hatena.ne.jp/simotin13/</author_url>
  <blog_title>simotin13's message</blog_title>
  <blog_url>https://mcommit.hatenadiary.com/</blog_url>
  <categories>
    <anon>Elixir</anon>
  </categories>
  <description>今日は帰りが遅くなったのであまり時間が取れない。ファイルの読みこみだけ試してみた。CSV形式のファイルを読んでみる。sample.csv とする。 aaa,1 bbb,2 ccc,3ファイルアクセスはFileモジュールを使うらしい。 読み込みはreadかopen iex(1)&gt; File.read(&quot;sample.csv&quot;) {:ok, &quot;aaa, 1\nbbb, 2\nccc, 3\n&quot;} 結果はタプルで返ってくる。最初の :ok はアトム型といってrubyのシンボル相当らしい。タプルで結果が返ってくるのは違和感があるが、読み込み結果を何らかの形で返す必要があるのでこういう仕様なんだろう。存…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmcommit.hatenadiary.com%2Fentry%2F2017%2F09%2F25%2F234559&quot; title=&quot;Elixir入門 ～5日目 ファイルの読み書き～ - simotin13&amp;#39;s message&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-09-25 23:45:59</published>
  <title>Elixir入門 ～5日目 ファイルの読み書き～</title>
  <type>rich</type>
  <url>https://mcommit.hatenadiary.com/entry/2017/09/25/234559</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
