2022-08-01ãã1ã¶æéã®è¨äºä¸è¦§
ææ¨ã«å¯¾ããä¸å®å ¨ã¤ã³ã¹ã¿ã³ã¹ãä¸å®å ¨ã¢ãã«ãã¨ããæ¦å¿µãå°å ¥ãã¾ããä¸å®å ¨ã¤ã³ã¹ã¿ã³ã¹ã¯ãè¨å·ã®ä¹±ç¨ããªã¼ãã¼ãã¼ããªã©ã®åæã«ä½¿ãã¤ããã§ããå å®¹ï¼ ææ¨ã®ä¾ ææ¨ã®ã¢ãã«ãã¤ã³ã¹ã¿ã³ã¹ã ç¡åã®ã¢ãã« ã©ãã«ã®çç¥ ä¸å®å ¨ã¢ãã« ææ¨ã®ä¾â¦
ã¨ããè«æã§ã説æã®ããã«Haskell風çä¼¼ã³ã¼ãã使ããã¦ãã¾ããããã®ã²ã¨ã¤ãæ¬¡ï¼ data 0 a instance Functor 0 where fmap = ⥠ã¦ã¼ã ãããã人ã«ã¯ãããã®ããç¥ããªããã©ãã»ã¼æå³ä¸æããã£ããä½ãè¨ãããã®ã§ãããï¼ åã説æãã¾ãã$`\neâ¦
ãèªç¶æ¼ç¹¹ã®åæ§ç¯ã¸ã®éãã¨ããè¨äºãæ¸ããã®ã¯6å¹´åã§ããããããæã«è§¦ãã¦âèªç¶æ¼ç¹¹ã®åæ§ç¯âã«ã¤ãã¦èãã¦ã¯ãã¾ãããç´°é¨ã¾ã§è©°ãã¦ãããããããªãã§ãããã§ãã¾ãæè¿ã¡ãã£ã¨èãã¦ãã次第ãä¸è¨éå»è¨äºã§ã¯ããã¢ãã¤ãåããå¤åãä½ã£â¦
æ¨è«è¦åãinference ruleãã¨åã¤ãè¦åãtyping ruleãã®ä¸¡æ¹ãå«ãã·ã¹ãã ã§ä½¿ãããããã®ããªãããªãã¨æ¢ãã¦ãã¾ãããåãæãâ使ããããâã¨ã¯ï¼ æå³è«ãã»ãã³ãã£ã¯ã¹ãã¯ãã¤ãã¼ãã¯ããªã³ã ã«ãªã¼ï¼ãã¯ã¼ãï¼ã©ã³ããã¯å¯¾å¿ã¨ç¸æ§ããããâ¦