<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>u-no</author_name>
  <author_url>https://blog.hatena.ne.jp/u-no/</author_url>
  <blog_title>unnonouno</blog_title>
  <blog_url>https://u-no.hatenadiary.org/</blog_url>
  <categories>
    <anon>Programming</anon>
  </categories>
  <description>Infix operators « Python recipes « ActiveState Code これはバカだぁ。こういうの好きだぁ。具体的には、カリー化させて書くとこんな感じ。 2 |x| 3 = ((2 | x) | 3 = (x(2)) | 3 = x(2, 3) Python では左右の | 演算子の挙動を override できるらしい。これを使って、適用順を操作してるんですね。</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fu-no.hatenadiary.org%2Fentry%2F20070701%2F1183310174&quot; title=&quot;Python で中置演算子を定義する方法 - unnonouno&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>2007-07-01 02:16:14</published>
  <title>Python で中置演算子を定義する方法</title>
  <type>rich</type>
  <url>https://u-no.hatenadiary.org/entry/20070701/1183310174</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
