<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>oknknic</author_name>
  <author_url>https://blog.hatena.ne.jp/oknknic/</author_url>
  <blog_title>oknknicの日記</blog_title>
  <blog_url>https://oknknic.hatenadiary.org/</blog_url>
  <categories>
    <anon>Haskell</anon>
    <anon>基本</anon>
  </categories>
  <description>日記「Haskellメモ その１ - oknknicの日記」に引き続きHaskellネタ。 今回もコマンド例、コード例を書き連ねる。 型に関して ghci :t 1 :t 'a' :t &quot;a&quot; let f x = x * x :t f let f x = length x :t f :q 明示的な型宣言 echo &quot;f :: Int -&gt; Int&quot; &gt; f.hs echo &quot;f x = x * x&quot; &gt;&gt; f.hs cat f.hs ghci :l f.hs :t f f 10 f 1.5 :q 型変数と型クラス制約 echo &quot;f :: Num a =&gt; a -&gt; a&quot; &gt; f.hs ech…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Foknknic.hatenadiary.org%2Fentry%2F20130307%2F1362622175&quot; title=&quot;Haskellメモ その２ - oknknicの日記&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>https://images-fe.ssl-images-amazon.com/images/I/51OngKln1ZL._SL160_.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2013-03-07 11:09:35</published>
  <title>Haskellメモ その２</title>
  <type>rich</type>
  <url>https://oknknic.hatenadiary.org/entry/20130307/1362622175</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
