<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ympbyc</author_name>
  <author_url>https://blog.hatena.ne.jp/ympbyc/</author_url>
  <blog_title>標高+1m</blog_title>
  <blog_url>https://ympbyc.hatenablog.com/</blog_url>
  <categories>
    <anon>Lisp</anon>
    <anon>continuation</anon>
  </categories>
  <description>以前の記事 ( call/ccの合成 - 標高+1m )で、やりたかったのはこういうことでした。 たまに便利なことがあると思う。 (define (compose-c/cc . fs) (letrec ((vals (list-&gt;vector (map (^ (f i) (f (lambda (res) (vector-set! vals i res) (when cont (cont))))) fs (iota (length fs))))) (cont #f)) (call/cc (lambda (k) (set! cont k))) (vector-&gt;list vals))) (cons…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fympbyc.hatenablog.com%2Fentry%2F2020%2F02%2F24%2Fcall%2Fcc%25E3%2581%25AE%25E5%2590%2588%25E6%2588%2590%25E3%2581%25AE%25E8%25A7%25A3&quot; title=&quot;call/ccの合成の解 - 標高+1m&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>https://cdn-ak.f.st-hatena.com/images/fotolife/y/ympbyc/20200224/20200224194439.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-02-24 19:49:03</published>
  <title>call/ccの合成の解</title>
  <type>rich</type>
  <url>https://ympbyc.hatenablog.com/entry/2020/02/24/call/cc%E3%81%AE%E5%90%88%E6%88%90%E3%81%AE%E8%A7%A3</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
