<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>enakai00</author_name>
  <author_url>https://blog.hatena.ne.jp/enakai00/</author_url>
  <blog_title>めもめも</blog_title>
  <blog_url>https://enakai00.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>median 関数を定義して使用する例です。足し算（add）と配列をソートしたときの真ん中の値（median）を定義して使用しています。 $ nl function.jql 1 $add = fn($a, $b) ( 2 $a + $b 3 ); 4 // $add( 1, 1 ); =&gt; 2 5 $median = fn($items) ( 6 $sorted = $items -&gt; sort by [$], 7 $sorted[count($sorted)/2] 8 ); 9 // $median( [ 1, 4, 5, 3, 2 ] ); =&gt; 3 10 $exam = read(hdf…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fenakai00.hatenablog.com%2Fentry%2F20101124%2F1290602189&quot; title=&quot;Jaql入門(3) - ユーザ定義関数 - めもめも&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>2010-11-24 21:36:29</published>
  <title>Jaql入門(3) - ユーザ定義関数</title>
  <type>rich</type>
  <url>https://enakai00.hatenablog.com/entry/20101124/1290602189</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
