<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>jyukutyo</author_name>
  <author_url>https://blog.hatena.ne.jp/jyukutyo/</author_url>
  <blog_title>Fight the Future</blog_title>
  <blog_url>https://www.sakatakoichi.com/</blog_url>
  <categories>
    <anon>programming</anon>
  </categories>
  <description>モナドってだけで若干引き気味だけど。 モナドにもいろんな種類があって、その1つがcontinuation monadらしい。 で、サンプルを動かそうとしたけど、ソースの意味が理解できない。 いかん。実力がないのがバレバレだ。。。 type Answer = Value; /** * A continuation monad. */ case class M[A](in: (A =&gt; Answer) =&gt; Answer) { def bind[B](k: A =&gt; M[B]) = M[B](c =&gt; in (a =&gt; k(a) in c)) def map[B](f: A =&gt; B): M[B]…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.sakatakoichi.com%2Fentry%2F20081023%2F1224744544&quot; title=&quot;continuation monadのコードが読めない(Scala) - Fight the Future&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>2008-10-24 07:49:04</published>
  <title>continuation monadのコードが読めない(Scala)</title>
  <type>rich</type>
  <url>https://www.sakatakoichi.com/entry/20081023/1224744544</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
