{"provider_url":"https://hatena.blog","categories":["Haskell"],"published":"2011-09-04 00:37:36","blog_url":"https://wvogel00.hatenadiary.org/","url":"https://wvogel00.hatenadiary.org/entry/20110904/1315150656","blog_title":"wvogel\u65e5\u8a18","provider_name":"Hatena Blog","image_url":null,"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwvogel00.hatenadiary.org%2Fentry%2F20110904%2F1315150656\" title=\"\u30ab\u30ea\u30fc\u5316\u3068\u90e8\u5206\u9069\u7528 - wvogel\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>","author_url":"https://blog.hatena.ne.jp/wvogel00/","type":"rich","title":"\u30ab\u30ea\u30fc\u5316\u3068\u90e8\u5206\u9069\u7528","version":"1.0","author_name":"wvogel00","width":"100%","description":"\u90e8\u5206\u9069\u7528\u306f\u3001\u30ab\u30ea\u30fc\u5316\u306b\u3088\u3063\u3066\u53ef\u80fd\u3068\u306a\u308b\u3002 \u3067\u306f\u3001\u30ab\u30ea\u30fc\u5316\u3068\u306f\u3002 \u3059\u3079\u3066\u306e\u95a2\u6570\u306f\u4e00\u5f15\u6570\u306e\u95a2\u6570\u3068\u3057\u3066\u6271\u3046\u3053\u3068\u3002 f :: Num a => a -> a -> a \u3068\u5b9a\u7fa9\u3055\u308c\u305f\u95a2\u6570\u304c\u3042\u308b\u3068\u304d\u3001f\u306f2\u5f15\u6570\u306e\u95a2\u6570\u3067\u3042\u308b\u3002 \u3053\u308c\u306b\u3001\u4f8b\u3048\u3070 Num\u30af\u30e9\u30b9\u306b\u5c5e\u3059\u308b\u578b\u306e\u5024 x \u3092\u9069\u7528\u3059\u308b\u3068\u3001\uff08\u3053\u308c\u304c\u90e8\u5206\u9069\u7528\uff09 \u5024\u3092\u9069\u7528\u3055\u308c\u305f\u95a2\u6570\u306f\u3001f\u3068\u306f\u7570\u306a\u308b\u95a2\u6570\u3068\u3057\u3066\u8868\u73fe\u3067\u304d\u308b\u3002 f x :: Num a => a -> a \u3068\u306a\u308b\u3002\u5b9f\u969b\u306bGHCi\u3067\u5b9f\u9a13\u3057\u3066\u307f\u308b\u3002 \u307e\u305a\u3001\u95a2\u6570 f \u3092\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u5b9a\u7fa9 f :: Num a => a -> a -> a f x y = x + y Prelude> :t f f :: Nu\u2026","height":"190"}