<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>USAGI-WRP</author_name>
  <author_url>https://blog.hatena.ne.jp/USAGI-WRP/</author_url>
  <blog_title>C++ ときどき ごはん、わりとてぃーぶれいく☆</blog_title>
  <blog_url>https://usagi.hatenablog.jp/</blog_url>
  <categories>
    <anon>Haskell</anon>
    <anon>C++</anon>
    <anon>stderr</anon>
  </categories>
  <description>Haskell で標準エラー出力 import System.IO main :: IO () main = case f of Right a -&gt; putStr a Left a -&gt; hPrint stderr a f :: Either String String f = ... ※EitherのLeftもRightもStringなのは、この例ではそれぞれ標準エラー出力と標準出力へと出力しているのでShowのインスタンスの具体例として。 ↓C++的に↑に似た感じの表現をすると &lt;iostream&gt; struct f { ... }; int main() { f a = ... ; i…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fusagi.hatenablog.jp%2Fentry%2F2012%2F03%2F25%2F034245&quot; title=&quot;haskell の標準エラー出力、C++的に言うところの std::cerr 的なそれのメモ - C++ ときどき ごはん、わりとてぃーぶれいく☆&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>2012-03-25 03:42:45</published>
  <title>haskell の標準エラー出力、C++的に言うところの std::cerr 的なそれのメモ</title>
  <type>rich</type>
  <url>https://usagi.hatenablog.jp/entry/2012/03/25/034245</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
