{"version":"1.0","blog_url":"https://sirocco.hatenadiary.org/","height":"190","provider_url":"https://hatena.blog","author_name":"sirocco","provider_name":"Hatena Blog","type":"rich","width":"100%","title":"Control.Applicative \u306e  \u3092\u4f7f\u3063\u3066\u307f\u308b","categories":[],"image_url":null,"url":"https://sirocco.hatenadiary.org/entry/20110414/1302813143","author_url":"https://blog.hatena.ne.jp/sirocco/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsirocco.hatenadiary.org%2Fentry%2F20110414%2F1302813143\" title=\"Control.Applicative \u306e  \u3092\u4f7f\u3063\u3066\u307f\u308b - sirocco \u306e\u66f8\u3044\u3066\u3082\u3059\u3050\u306b\u5fd8\u308c\u308b\u30e1\u30e2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_title":"sirocco \u306e\u66f8\u3044\u3066\u3082\u3059\u3050\u306b\u5fd8\u308c\u308b\u30e1\u30e2","published":"2011-04-14 05:32:23","description":"\u3042\u3069\u3051\u306a\u3044\u8a71 / QA\u3067\u5b66\u3076Monad\u3092\u8aad\u3093\u3067\u3044\u307e\u3059\u3002(2) >:m Control.Applicative > :t (<*>) (<*>) :: (Applicative f) => f (a -> b) -> f a -> f b > :t (<$>) (<$>) :: (Functor f) => (a -> b) -> f a -> f b -- (<$>) \u306f Functor \u306e\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9 a \u306b\u5bfe\u3057\u3066 (a -> b) \u306e\u95a2\u6570\u3092\u9069\u7528 -- \u3057\u3001Functor \u306e\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9 b \u3092\u8fd4\u3059 > (<$>) (+1) (Just 1) -- => Just 2 > (+1) <$> \u2026"}