<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mzp</author_name>
  <author_url>https://blog.hatena.ne.jp/mzp/</author_url>
  <blog_title>みずぴー日記</blog_title>
  <blog_url>https://mzp.hatenadiary.org/</blog_url>
  <categories>
    <anon>OCaml</anon>
    <anon>30分プログラム</anon>
  </categories>
  <description>30分プログラム、その202。多相なprintが欲しいので、Obj.tagで分岐してみる。 前回、Objモジュールを使えば、型に関する操作ができそうだということが分ったので、調べてみた。ここで、Obj.magicとかを適当に説明するつもりだったけど、#006 禁断の Obj - KeisukeNakano’s diaryに書いてあったので、リンクだけを貼ってごまかしておく。 使い方 # to_string 10;; - : string = &quot;10&quot; # to_string &quot;hoge&quot;;; - : string = &quot;\&quot;hoge\&quot;&quot; ソースコード let ($) f g x = f (g…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmzp.hatenadiary.org%2Fentry%2F20071212%2Fprint&quot; title=&quot;多相なprintを求めて -その2- - みずぴー日記&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-12-12 00:00:00</published>
  <title>多相なprintを求めて -その2-</title>
  <type>rich</type>
  <url>https://mzp.hatenadiary.org/entry/20071212/print</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
