<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>j5ik2o</author_name>
  <author_url>https://blog.hatena.ne.jp/j5ik2o/</author_url>
  <blog_title>かとじゅんの技術日誌</blog_title>
  <blog_url>https://blog.j5ik2o.me/</blog_url>
  <categories>
    <anon>Haskell</anon>
  </categories>
  <description>モナドを理解するためにMaybeを自作することにしたので、適当にコードさらしてみる。モナド強者の方のツコッミあれば、よいコンテンツ化するのでは感。 data Option a = None | Some a deriving (Eq, Show) instance Functor Option where fmap f (Some x) = Some (f x) fmap f None = None getOrElse :: Option a -&gt; a -&gt; a getOrElse None v = v getOrElse (Some x) _ = x get :: Option a -&gt; a…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.j5ik2o.me%2Fentry%2F2012%2F12%2F10%2F001008&quot; title=&quot; Maybeを自作してみる(Functor編) - かとじゅんの技術日誌&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-12-10 00:10:08</published>
  <title> Maybeを自作してみる(Functor編)</title>
  <type>rich</type>
  <url>https://blog.j5ik2o.me/entry/2012/12/10/001008</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
