{"blog_title":"oknknic\u306e\u65e5\u8a18","height":"190","type":"rich","provider_url":"https://hatena.blog","version":"1.0","categories":["Haskell","\u57fa\u672c"],"blog_url":"https://oknknic.hatenadiary.org/","description":"\u65e5\u8a18\u300cHaskell\u30e1\u30e2 \u305d\u306e\uff11 - oknknic\u306e\u65e5\u8a18\u300d\u306b\u5f15\u304d\u7d9a\u304dHaskell\u30cd\u30bf\u3002 \u4eca\u56de\u3082\u30b3\u30de\u30f3\u30c9\u4f8b\u3001\u30b3\u30fc\u30c9\u4f8b\u3092\u66f8\u304d\u9023\u306d\u308b\u3002 \u578b\u306b\u95a2\u3057\u3066 ghci :t 1 :t 'a' :t \"a\" let f x = x * x :t f let f x = length x :t f :q \u660e\u793a\u7684\u306a\u578b\u5ba3\u8a00 echo \"f :: Int -> Int\" > f.hs echo \"f x = x * x\" >> f.hs cat f.hs ghci :l f.hs :t f f 10 f 1.5 :q \u578b\u5909\u6570\u3068\u578b\u30af\u30e9\u30b9\u5236\u7d04 echo \"f :: Num a => a -> a\" > f.hs ech\u2026","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Foknknic.hatenadiary.org%2Fentry%2F20130307%2F1362622175\" title=\"Haskell\u30e1\u30e2 \u305d\u306e\uff12 - oknknic\u306e\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","image_url":"https://images-fe.ssl-images-amazon.com/images/I/51OngKln1ZL._SL160_.jpg","width":"100%","author_url":"https://blog.hatena.ne.jp/oknknic/","title":"Haskell\u30e1\u30e2 \u305d\u306e\uff12","provider_name":"Hatena Blog","url":"https://oknknic.hatenadiary.org/entry/20130307/1362622175","published":"2013-03-07 11:09:35","author_name":"oknknic"}