<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>y-kamiya</author_name>
  <author_url>https://blog.hatena.ne.jp/y-kamiya/</author_url>
  <blog_title>MEMOcho-</blog_title>
  <blog_url>https://jsapachehtml.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>haskellでコードを書いていて数値の計算を行うときにエラーが出て調べることが多いのでメモしとく例えば、整数同士を割り算してから少数部分を切り上げたいとき以下の形だとエラーになる myceiling :: Int -&gt; Int -&gt; Int myceiling m n = ceiling $ m / nこれは/がIntに対しては適用できないため ceilingと/の型は以下 *Main&gt; :t (/) (/) :: Fractional a =&gt; a -&gt; a -&gt; a *Main&gt; :t ceiling ceiling :: (Integral b, RealFrac a) =&gt; a -&gt;…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fjsapachehtml.hatenablog.com%2Fentry%2F2014%2F03%2F18%2F074526&quot; title=&quot;haskellで割り算するとき - MEMOcho-&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>http://ecx.images-amazon.com/images/I/51pYSdnkuNL.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2014-03-18 07:45:26</published>
  <title>haskellで割り算するとき</title>
  <type>rich</type>
  <url>https://jsapachehtml.hatenablog.com/entry/2014/03/18/074526</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
