ææ㧠ãªãã¸ã§ã¯ãæå (OOP) ã«ããã Visitorãã¿ã¼ã³ ã«ã¤ãã¦è©±ããã¦ããã®ã§ãèªåã®é¢æ°åããã°ã©ãã³ã°ã®ã¡ã¢ç¨ã«æ´çãã¦ã¿ããã¨æãã¾ãã ï¼Twitterã§æ¸ãã«ã¯å°ãé·ãããã®ã§ããã¡ãã«æ´çï¼ 2021/01/10 EDIT: Church (BoehmâBerarducci) ã¨ã³ã³ã¼ãã£ã³ã°ã¨Vistorãã¿ã¼ã³ã«ã¤ãã¦ã®å ·ä½çãªäºä¾ã¯ããã¡ãã®è¨äºãåãããããã®ã§ããåç §ãã ããã Haskell for all: The visitor pattern is essentially the same thing as Church encoding æ¦è¦ OOP ã«ããã Visitor ãã¿ã¼ã³ã¯ãé¢æ°åããã°ã©ãã³ã°çã«è¨ãã°ãï¼ãã¿ã¼ã³ãããããï¼F代æ°ã«ããμå帰ã Church encoding ãããã®ã ã¤ã¾ãã ãé¢æ°é©ç¨ãã¦ãçµæ a
{{#tags}}- {{label}}
{{/tags}}