<?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分プログラム、その378。.cmiをよ読み込んで、ひらメソッドのテンプレートを生成してみたかったので、試してみた。 id:mmatsuoka:20080515を参考にしたけど、うまく欲しい情報が取れなかった。やっぱりmliをパースしたほうが楽かもしれない。 使い方 こんな座標計算をするsample.mlを用意する。 type point = { x : int; y : int} let distance {x=x1; y=y1} {x=x2; y=y2} = let x = x1 - x2 in let y = y1 - y2 in sqrt (float_of_int (x*x + y…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmzp.hatenadiary.org%2Fentry%2F20080929%2Fcmi&quot; title=&quot;.cmiの読み込み - みずぴー日記&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>2008-09-29 00:00:00</published>
  <title>.cmiの読み込み</title>
  <type>rich</type>
  <url>https://mzp.hatenadiary.org/entry/20080929/cmi</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
