<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>E_Mattsan</author_name>
  <author_url>https://blog.hatena.ne.jp/E_Mattsan/</author_url>
  <blog_title>エンジニアのソフトウェア的愛情</blog_title>
  <blog_url>https://blog.emattsan.org/</blog_url>
  <categories>
    <anon>めも</anon>
  </categories>
  <description>わけあって、ソートのプログラムを書こうとしたんですが。 あれ、C/C++でどうやって実装するんだっけ?こことか読んで、勉強のしなおしが必要です。 Haskellならやりたいことをそのまま書き連ねるだけなので楽でいいのに…。 qsort [] = [] qsort (a:as) = (qsort [ x | x &lt;- as, x &lt; a]) ++ a:(qsort [ x | x &lt;- as, a &lt;= x]) main = getContents &gt;&gt;= putStrLn.unwords.(map show).qsort.(map (read::String-&gt;Integer)).words</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.emattsan.org%2Fentry%2F20090605%2F1244189833&quot; title=&quot;QuickSortの実装を忘れた… - エンジニアのソフトウェア的愛情&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>2009-06-05 17:17:13</published>
  <title>QuickSortの実装を忘れた…</title>
  <type>rich</type>
  <url>https://blog.emattsan.org/entry/20090605/1244189833</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
