<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>zehnpaard</author_name>
  <author_url>https://blog.hatena.ne.jp/zehnpaard/</author_url>
  <blog_title>Arantium Maestum</blog_title>
  <blog_url>https://zehnpaard.hatenablog.com/</blog_url>
  <categories>
    <anon>OCaml</anon>
    <anon>めざそう言語処理系の沼</anon>
    <anon>言語処理系</anon>
  </categories>
  <description>ついにshift / resetを実装するところまで到達！ resetで区切った限定継続をshiftで取り出して使う、という言語機能だ。 shift/resetプログラミング入門に出てくるような処理が実装できるようになる： (* (reset (+ 3 (shift [k] (* 5 (k 2))) -1)) 2) この例だと限定継続kが(fn [x] (+ 3 x -1))となって、(reset ...)部分が(* 5 (+ 3 2 -1))に入れ替えられ、全体の式は(* (* 5 (+ 3 2 -1)) 2)で結果は40となる。 前回との差分： Comparing v0.15...v0.1…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fzehnpaard.hatenablog.com%2Fentry%2F2020%2F06%2F10%2F101401&quot; title=&quot;めざそう言語処理系の沼　〜shift/resetへの旅 〜　その１６ shift/reset - Arantium Maestum&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>2020-06-10 10:14:01</published>
  <title>めざそう言語処理系の沼　〜shift/resetへの旅 〜　その１６ shift/reset</title>
  <type>rich</type>
  <url>https://zehnpaard.hatenablog.com/entry/2020/06/10/101401</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
