{"blog_url":"https://its-out-of-tune.hatenadiary.org/","published":"2011-12-14 04:11:36","height":"190","provider_url":"https://hatena.blog","image_url":null,"width":"100%","author_url":"https://blog.hatena.ne.jp/its_out_of_tune/","url":"https://its-out-of-tune.hatenadiary.org/entry/20111214/1323889896","description":"\u305d\u3082\u305d\u3082\u3001\u4eca\u65e5\u306fderiving\u306b\u3064\u3044\u3066\u66f8\u3053\u3046\u3068\u601d\u3063\u3066\u3044\u305f\u306e\u3067\u3059\u304c\u3001\u305d\u306e\u524d\u306b\u578b\u3092\u4f5c\u308b\u6bb5\u968e\u3067\u4e00\u3064\u8a18\u4e8b\u304c\u66f8\u3051\u308b\u30ec\u30d9\u30eb\u306e\u5185\u5bb9\u3060\u3063\u305f\u306e\u3067\u3001\u307e\u305a\u306f\u3061\u3087\u3063\u3068\u3057\u305f\u578b\u3092\u5b9a\u7fa9\u3057\u3066\u307f\u308b\u4e8b\u306b\u3057\u307e\u3059\u3002 module Main where --\u578b Bar \u3092\u4f5c\u6210 newtype Bar = Bar Int deriving (Eq,Read,Show) --Bar \u3068 Int \u9593\u306e\u5909\u63db fromBar :: Bar -> Int fromBar (Bar a) = a toBar :: Int -> Bar toBar a = Bar a --\u4e8c\u9805\u6f14\u7b97\u306e\u5b9a\u7fa9\u3092\u7c21\u6613\u5316 calcBar :: (Int -> Int -> \u2026","title":"Haskell\u3067\u65b0\u3057\u3044\u578b\u3092\u5b9a\u7fa9\u3059\u308b","type":"rich","categories":["Haskell"],"blog_title":"capriccioso String Creating(Object something){ return My.Expression(something); }","version":"1.0","provider_name":"Hatena Blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fits-out-of-tune.hatenadiary.org%2Fentry%2F20111214%2F1323889896\" title=\"Haskell\u3067\u65b0\u3057\u3044\u578b\u3092\u5b9a\u7fa9\u3059\u308b - capriccioso String Creating(Object something){ return My.Expression(something); }\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_name":"its_out_of_tune"}