extensibleã¯æ¡å¼µå¯è½ã¬ã³ã¼ãã ãã§ãªãæ¡å¼µå¯è½ä½ç¨(extensible effects)ãç¨æãã¦ãããæ¡å¼µå¯è½ä½ç¨ã¯ä¸ææHaskellçéã§è©±é¡ã«ãªã£ããã®ã®ãä»ã§ã¯äººæ°ãä¸ç«ã«ãªã£ã¦ãã¾ã£ããæ°ãããã¼ã¸ã§ã³ããªãªã¼ã¹ããä»ãæ¡å¼µå¯è½ä½ç¨ã®åæ©ã¨ä½¿ãæ¹ã«ã¤ãã¦æ¹ãã¦ç´¹ä»ãããã é£è¡ã®ä¸æ¬¡é¢æ° Haskellã§ã¢ãããã«ã¹ã¿ãã¤ãºããæ¹æ³ã¨ãã¦ã¯ãtransformersã®ã¢ããå¤æåããã使ããã¦ãããã¢ããå¤æåã¯ãã¢ããããã©ã¡ã¼ã¿ã¨ãã¦åããæ°ããªè½åãä»ä¸ããã¢ããã«ããæ§é ã ãä¾ãã°ãStateT sã¯ã¢ããå¤æåã®ä¸ã¤ã§ãããä»»æã®ã¢ã¯ã·ã§ã³m aã¯liftã使ã£ã¦StateT s m aã«å¤æã§ããã newtype StateT s m a = StateT { runStateT :: s -> m (a, s) } ä»ã«ãReaderT, Write
{{#tags}}- {{label}}
{{/tags}}