<?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>Haskell</anon>
    <anon>30分プログラム</anon>
  </categories>
  <description>30分プログラム、その568。整数を'+'と' 'の二進数表記に変換してみる。 素数の二進法表記 - 西尾泰和のはてなダイアリーに + + + + + + + +というよく分からない記号が書いてあった。 最初はさっぱり意味が分からなかったけど、よくよく考えていみると、立っているビットを'+'で表現していることに気がついた。 というわけで、これをやってみよう。無駄にShowクラスを使ってしまった。 使い方 *Main&gt; fixWidth 8 $ toBinary 3 ++ *Main&gt; mapM_ (putStrLn.show) $ map (fixWidth 8 . toBinary) [1.…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmzp.hatenadiary.org%2Fentry%2F20090419%2Fbinary&quot; title=&quot;二進数表記に変換してみる - みずぴー日記&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-04-19 00:00:00</published>
  <title>二進数表記に変換してみる</title>
  <type>rich</type>
  <url>https://mzp.hatenadiary.org/entry/20090419/binary</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
