{"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwvogel00.hatenadiary.org%2Fentry%2F20110729%2F1311966132\" title=\"Applicative - 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>","width":"100%","description":"import Control.Applicative main = do a <- getLine b <- getLine print $ f a b f :: String -> String ->Int f a b = (+) (read a) (read b) \u3053\u308c\u306f\u52ff\u8ad6\u52d5\u304d\u307e\u3059 \u3067\u306f\u3001ghci\u4e0a\u3067\u4e0a\u8a18\u306e\u3088\u3046\u306bf\u3092\u5ba3\u8a00\u3057\u3001Control.Applicative\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u30a4\u30f3\u30dd\u30fc\u30c8\u3057\u305f\u3046\u3048\u3067 f <$> getLine <*> getLine \u3068\u3059\u308b\u3068\u3084\u3063\u3071\u308a\u52d5\u3044\u305f\uff01 \u3084\u3063\u305f\u306d\u3057\u304b\u3057\u3001 import Control.Applicative main = print $ f <$> ge\u2026","blog_url":"https://wvogel00.hatenadiary.org/","provider_url":"https://hatena.blog","provider_name":"Hatena Blog","published":"2011-07-29 04:02:12","author_name":"wvogel00","url":"https://wvogel00.hatenadiary.org/entry/20110729/1311966132","type":"rich","title":"Applicative","image_url":null,"blog_title":"wvogel\u65e5\u8a18","height":"190","version":"1.0","categories":["Haskell"],"author_url":"https://blog.hatena.ne.jp/wvogel00/"}