<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>falsandtru</author_name>
  <author_url>https://blog.hatena.ne.jp/falsandtru/</author_url>
  <blog_title>falsandtruのメモ帳</blog_title>
  <blog_url>https://falsandtru.hatenablog.com/</blog_url>
  <categories>
    <anon>JavaScript</anon>
    <anon>programming</anon>
  </categories>
  <description>非純粋関数を合成可能な擬似純粋関数にするデザインパターン。非純粋関数の返り値を逆操作関数にすることで疑似純粋化し逆操作関数を無引数無返り値に統一することで合成可能化する。操作は逆操作により副作用を残さず中止および終了され複数の操作はArrow演算により単一の操作に合成される。 function proc(): () =&gt; void { return aggregate( bind(el, type, listener), bind(el, type, listener)); } function bind(el, type, listener): () =&gt; void { el.addEven…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ffalsandtru.hatenablog.com%2Fentry%2Freverse-pattern&quot; title=&quot;Reverseパターン - falsandtruのメモ帳&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-12-20 21:08:53</published>
  <title>Reverseパターン</title>
  <type>rich</type>
  <url>https://falsandtru.hatenablog.com/entry/reverse-pattern</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
