ããµã¤ãã®Haskellããã°ã©ãã³ã°ãã ãæ§æ解æçµååãã®å ãã¿ã¯ãã©ããããMonadic parsing in Haskellãã®ããã§ãã(ããã«å ãã¿ã¯ Parsec ã§ãããã) ãã®ãªãªã¸ãã«ã¯ãMonadPlus ã®é¨åãªã©ãå¤ãããã®ã§ãããåããããã§ããã¨ããããã§ãä¾é¡ã Parsec 風ã«ã¢ã¬ã³ã¸ãã¤ã¤ãåå¼·ãã¦ã¿ã¾ããã ååæ¼ç®å¼ã®ãã¼ãµã¼ãå®ç¾ãããã¨ãç®æ¨ã«ãã¾ãã ãã¾ããªã æçµçã«ä»¥ä¸ã®ã¢ã¸ã¥ã¼ã«ãå¿ è¦ã«ãªãã®ã§ãimport ãã¦ããã¾ãã import Monad import Data.Char Parser ã®å®ç¾© Parser åã®å®ç¾©ã¯ãããªãã¾ãã data Parser a = Parser (String -> [(a,String)]) ç¶æ ã表ãããã«é¢æ°ã使ã£ã¦ãã é¢æ°ã使ãã¨ç¶æ ã表ç¾ã§ãããã¨ãåããªã人ã¯ãå ã«ãç¶
{{#tags}}- {{label}}
{{/tags}}