<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kazzna</author_name>
  <author_url>https://blog.hatena.ne.jp/kazzna/</author_url>
  <blog_title>来世から頑張る！！</blog_title>
  <blog_url>https://kazzna.hatenablog.com/</blog_url>
  <categories>
    <anon>scala</anon>
    <anon>scalaz</anon>
  </categories>
  <description>Monadって難しいって話。 元ネタは xuweiさんのブログ いやね、最近PlayでWebアプリ作ろうと頑張ってるんですよ。 そこでログ出力のために、引数で渡すものを必要に応じてWriterにできればなとか考えてたんですよ。 結果うまくはいかなかったんですが。 本編以外を極力省くため、試すコードはただの足し算。 def add(a: Int, b: Int): Int = a + b これをブログを参考にIdでくるむ。 import scalaz._, Scalaz._ def add(a: Id[Int], b: Id[Int]): Id[Int] = for { x &lt;- a y &lt;- …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkazzna.hatenablog.com%2Fentry%2F2015%2F04%2F17%2F232057&quot; title=&quot;MonadTって自動でMonadにはならないの？？？ - 来世から頑張る！！&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>2015-04-17 23:20:57</published>
  <title>MonadTって自動でMonadにはならないの？？？</title>
  <type>rich</type>
  <url>https://kazzna.hatenablog.com/entry/2015/04/17/232057</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
