<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kazu-yamamoto</author_name>
  <author_url>https://blog.hatena.ne.jp/kazu-yamamoto/</author_url>
  <blog_title>あどけない話</blog_title>
  <blog_url>https://kazu-yamamoto.hatenablog.jp/</blog_url>
  <categories>
    <anon>Haskell</anon>
  </categories>
  <description>Monadとは、Applicativeであるデータ構造で、(&gt;&gt;=)演算子を提供し、それがMonad法則を満たすものである。 正確に表現するとこうなんですが、「はぁ？」っ感じですよね。「満たすべき法則」とか言われると、まったく理解できません。でも、オススメの形に持っていくための変換規則と捉えると分かりやすいのではないかというのが、この記事の主旨です。 関手 関手法則は以下の2つです： 単位元： id &lt;$&gt; x = x 合成 ： f &lt;$&gt; (g &lt;$&gt; x) = (f . g) &lt;$&gt; x 左辺が冗長な形、右辺がオススメの形です。これはいいですよね？ Applicative Applicat…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkazu-yamamoto.hatenablog.jp%2Fentry%2F2019%2F04%2F11%2F111238&quot; title=&quot;関手、Applicative、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>2019-04-11 11:12:38</published>
  <title>関手、Applicative、Monadの法則</title>
  <type>rich</type>
  <url>https://kazu-yamamoto.hatenablog.jp/entry/2019/04/11/111238</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
