第6å ã¹ã¿ã¼ãHaskell2 ã§çºè¡¨ãã¦ãã¾ãã
2012å¹´ã®11æ18æ¥æ¥ææ¥ã«ç¥ä¿çºã§è¡ãããã¹ã¿ã¼ãHaskell2ã®ç¬¬ï¼åã§ãã¢ããã«ã¤ãã¦çºè¡¨ãã¦ãã¾ããã
å½æ¥ã®æã¾ã§è³æä½ã£ã¦ããå¸å£ã¨ã®ççã«ãã家ãåºãã®ãã®ãªã®ãªã«ãªã£ã¦ããã¹åã§è²¡å¸ãå¿ãã¦ãããã¨ã«æ°ãã¤ãã¦åãã«æ»ã£ãã®ã§ã®ãªã®ãªã¢ã¦ãã«ãªããæè¿è²·ãæããiPhone5ã®ãããã®ããã§ç¥ä¿çºé§ ã®åºå£ãééãããããªã¢ã¦ãã«ãªããªã©ãã¦ã@hirataraããã«ãããããã«åºå ¥å£ã®èªåãã¢ãéãã¦ããããªã©ã¢ã¬ãªæããªãããçºè¡¨ãã¦ãã¾ããã
å½æ¥ã®è³æã¯SlideShareã®モナドがいっぱい!ã«ããã¾ãã ããã¦çºè¡¨ä¸ã«æ°ãã¤ããã®ã§ãããè³æã«ããã¤ãééãããã£ãã®ã§è¨æ£ãã¾ã(´дâ)â¥
ã¹ã©ã¤ã15æç®[Applicative復ç¿]ã®(<*>)
ã®å®ç¾©ãééã£ã¦ã¾ããã
-- 誤 (<*>) :: f (a -> b) -> a -> b -- æ£ (<*>) :: f (a -> b) -> f a -> f b
ãã¨ã¯67æç®[ãé¸æãã®mplus(Maybe)]ã§ãããããã¦ã¾ãã ä¸ããï¼çªç®ã®å®è¡ä¾ãééã£ã¦ã¾ãã
-- 誤 > Just 1 `mplus` Nothing Nothing -- æ£ > Just 1 `mplus` Nothing Just 1
ãã¶ã以ä¸äºã¤ã§ããæ··ä¹±ããåããããªããã
ãã¨@aomoriringoããã®Functor, Applicative, Monadã®ã¤ã¡ã¼ã¸ãã¨ã£ã¦ãè¯ãã¨æãã¾ãã
Functorã¨Applicativeã¨Monadã®ã¤ã¡ã¼ã¸ã£ã¦ãããªå°è±¡ãåãããã§ããã©ããªãã ããã #start_haskell URL
2012-11-18 15:10:00 via web
ã¾ããå½æ¥ã®æ§åãªã©ã¯@koieãããã¾ã¨ãã¦ãã ãã£ã¦ãã®ã§ããã¡ããã覧ä¸ããã¾ãã
ããã°: koie blog : いってきた: 第6回 スタートHaskell2
Togetter: 第6回スタートHaskell2 - Togetter
ã¨ãããããããã¾ããããå¾ã®æ親ä¼ã§ããªããããåãããªã話(?)ãã§ããçºè¡¨ã«é¢ãã¦ãåãããããã£ãã¨è¨ã£ã¦ãã ãã£ãæ¹ã ããã¦ãkeynoteè²·ã£ã¦ããã°ã£ã¦è³æãç¨æããç²æããã£ããªãã¨æã£ã次第ã§æãã¾ãã ã§ãçºè¡¨ã®ç·´ç¿ãªã©åºæ¥ãªãã¦ãçµæ§ã¹ã©ã¤ããåå¾ãã¤ã¤è©±ãã¦ãã®ã§ããã®è¾ºãä½ã¨ãããªãã¨ããã¾ããã ã¾ãã²ã¨ã¤ã¢ãããã¥ã¼ããªã¢ã«ãå¢ããå½¢ã«ãªãã¾ãããã誰ãã®å©ãã«ãªãã°å¹¸ãã§ãã