ãã¼ã¿æ§é ã«å¯¾ããå¦çãæ½è±¡åããããã®åã¯ã©ã¹ã¨ãã¦ï¼ç¬¬3åã§ã¯Functorã¯ã©ã¹ï¼ç¬¬34åã§ã¯Foldableã¯ã©ã¹ã説æãã¾ãããFunctorã¯ã©ã¹ãFoldableã¯ã©ã¹ã§ã¯ï¼ããã¼ã¿æ§é ã®èµ°æ»ï¼traverseï¼ãã¨ããã¼ã¿æ§é ãèµ°æ»ããéã«è¡ãå¦çããã»ããã«ããfmapãfold*ã¨ããå¦çãç´æ¥æä¾ããã¦ãã¾ãã Haskell以å¤ã®è¨èªãæã¤ã¤ãã¬ã¼ã¿ãªã©ã®æ©è½ã§ã¯ããã¼ã¿æ§é ã®èµ°æ»ãã¨ããã¼ã¿æ§é ãèµ°æ»ããéã«è¡ãå¦çããåãé¢ããã¨ã§ï¼ããä¸è¬çãªå¦çãè¡ãã¾ããHaskellã§ã¯ãã®ãããªæ çµã¿ã¨ãã¦ï¼Data.Traversableã¢ã¸ã¥ã¼ã«ã§Traversableã¯ã©ã¹ãæä¾ããã¦ãã¾ãã mapMé¢æ°ãsequenceé¢æ°ãä¸è¬å ã¾ãï¼Traversableã¯ã©ã¹ãã©ã®ãããªãã®ããç°¡åã«è¦ã¦ã¿ã¾ãããã Prelude Data.Traversable
{{#tags}}- {{label}}
{{/tags}}