{"author_name":"kazu-yamamoto","blog_url":"https://kazu-yamamoto.hatenablog.jp/","type":"rich","url":"https://kazu-yamamoto.hatenablog.jp/entry/20151217/1450329078","published":"2015-12-17 14:11:18","provider_url":"https://hatena.blog","author_url":"https://blog.hatena.ne.jp/kazu-yamamoto/","image_url":null,"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkazu-yamamoto.hatenablog.jp%2Fentry%2F20151217%2F1450329078\" title=\"GHC \u3068\u30b9\u30da\u30fc\u30b9\u3068\u30ea\u30fc\u30af - \u3042\u3069\u3051\u306a\u3044\u8a71\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","width":"100%","version":"1.0","height":"190","description":"\u3053\u308c\u306fHaskell\u30b9\u30da\u30fc\u30b9\u30ea\u30fc\u30af Advent Calendar 2015\u306e17\u65e5\u76ee\u306e\u8a18\u4e8b\u3067\u3059\u3002 :sprint \u3068 MonomorphismRestriction \u30b5\u30f3\u30af\u306e\u30ea\u30fc\u30af\u3092\u9632\u3050\u306b\u306f\u3001\u3069\u306e\u5f0f\u304c\u30b5\u30f3\u30af\u304b\u3092\u7406\u89e3\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u3002\u305d\u306e\u305f\u3081\u306b\u4fbf\u5229\u306a\u306e\u304c\u3001GHCi\u306e:sprint \u30b3\u30de\u30f3\u30c9\u3060\u3002MonomorphismRestriction \u62e1\u5f35\u304c\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u6709\u52b9\u3060\u3063\u305f GHCi 7.6 \u4ee5\u524d\u306f\u3001\u3053\u306e\u30b3\u30de\u30f3\u30c9\u306f\u76f4\u611f\u7684\u306b\u52d5\u304f\u3002 > let x = 1 + 2 > let y = (x,x) > :sprint x x = _ > :sprint y y = (_,_) > print x 3 > :\u2026","blog_title":"\u3042\u3069\u3051\u306a\u3044\u8a71","provider_name":"Hatena Blog","title":"GHC \u3068\u30b9\u30da\u30fc\u30b9\u3068\u30ea\u30fc\u30af","categories":["Haskell"]}