<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>sirocco</author_name>
  <author_url>https://blog.hatena.ne.jp/sirocco/</author_url>
  <blog_title>sirocco の書いてもすぐに忘れるメモ</blog_title>
  <blog_url>https://sirocco.hatenadiary.org/</blog_url>
  <categories>
    <anon>Haskell</anon>
  </categories>
  <description>do記法は構文糖です。 Real World Haskell p356 14章モナド：「モナド初心者だと感じているうちは構文糖であるdo記法を使うより(&gt;&gt;=)を明示的に書いた方が良いでしょう」とありますので、とりあえず、極力do記法は避けるよう努力してみます。 ioHello, ioWorld :: IO String ioHello = return &quot;Hello&quot; ioWorld = return &quot;world!&quot; hello :: IO () hello = do a &lt;- ioHello b &lt;- ioWorld putStrLn $ a ++ &quot;,&quot; ++ b hello2 :: …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsirocco.hatenadiary.org%2Fentry%2F20110404%2F1301929161&quot; title=&quot;do 記法から(&amp;gt;&amp;gt;=)を使った記法へ変換 - sirocco の書いてもすぐに忘れるメモ&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>2011-04-04 23:59:21</published>
  <title>do 記法から(&gt;&gt;=)を使った記法へ変換</title>
  <type>rich</type>
  <url>https://sirocco.hatenadiary.org/entry/20110404/1301929161</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
