<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mandel59</author_name>
  <author_url>https://blog.hatena.ne.jp/mandel59/</author_url>
  <blog_title>Ryusei’s Notes (a.k.a. M59のブログ)</blog_title>
  <blog_url>https://mandel59.hateblo.jp/</blog_url>
  <categories>
    <anon>プログラミング</anon>
  </categories>
  <description>Go言語でEitherモナドは無理がありすぎる感じがした。では、他の言語ではどうだろうか? C言語では関数の戻り値でエラーかどうかを判定しなければならないことが多いわけですけど、&amp;&amp;演算子の短絡評価を使えば、簡潔にこのように簡潔に書くことさえ可能だ。 #include #include #include #include int main(int argc, char** argv) { FILE *fp; char s[100]; int ok = (fp = fopen(&quot;hello.txt&quot;, &quot;r&quot;), …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmandel59.hateblo.jp%2Fentry%2F2013%2F10%2F20%2F171822&quot; title=&quot;Cとモナド - Ryusei’s Notes (a.k.a. M59のブログ)&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>2013-10-20 17:18:22</published>
  <title>Cとモナド</title>
  <type>rich</type>
  <url>https://mandel59.hateblo.jp/entry/2013/10/20/171822</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
