<?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>30分プログラム</anon>
    <anon>OCaml</anon>
  </categories>
  <description>30分プログラムその201。いい加減ネタを探すのが大変なので、ちょっと大きめな課題を一日30分づつ進める方針にチャレンジ。 で、デバッグに便利な多相なprintをOCamlで実装してみよう。 要するに、Haskellで言うとshow、型で言うと'a -&gt; stringのような関数が欲しい。 Toploop http://alohakun.blog7.fc2.com/blog-entry-584.html &gt; 文字列を eval したり，型情報を取得したりするやりかた Toplevelというモジュールが標準でインストールされています。秘密のAPIなのでドキュメントはtoplevel.mliのコメ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmzp.hatenadiary.org%2Fentry%2F20071211%2Fobj&quot; title=&quot;多相なprintを求めて-その1- - みずぴー日記&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-11 00:00:00</published>
  <title>多相なprintを求めて-その1-</title>
  <type>rich</type>
  <url>https://mzp.hatenadiary.org/entry/20071211/obj</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
