ãã®è¨äºã¯ä»¥ä¸ã®ãã¼ã¸ã«ç§»è»¢ãã¾ããï¼ blog.ryota-ka.me ãé¢æ°ããã°ã©ãã³ã°ã¨ã¯ãªãã§ããï¼ãã¨åãããã¨ãã«ã¯ããï¼ãã¼ã¿ãã¡ã¼ã¹ãâ¦â¦(éã声)ãã¨çãããã¨ãå¤ãã®ã ãï¼å®é Haskell ã OCaml ãªã©ã®è¨èªãç¹å¾´ä»ãããã®ã¨ãã¦ï¼ä»£æ°çãã¼ã¿å (Algebraic Data Type; ADT) ã®åå¨ã¯ç¡è¦ã§ããªãã ããï¼ãã®æç¨æ§ããã«ï¼è¿å¹´ã§ã¯æ°ããªè¨èªã®çå®ã®éã«ãã®æ¦å¿µã輸åºããï¼Rust ã Swift ãªã©ã®è¨èªã«ãæ¡ç¨ããã¦ããï¼ ã代æ°çãã¼ã¿åã¨ã¯ãªãã§ããï¼ãã¨åãããã¨ãã«ã¯âåããããã¨ããªãã®ã§ããããªãã®ã ãâããããã« ghci ã utop ãç«ã¡ä¸ãã¦ï¼è§£èª¬ãå§ããã®ã§ã¯ãªããã¨æãï¼ã²ã¨ããã解説ãããå¾ï¼ãã¤ã¾ãç´ç©ã®ç´åãªãã§ãããðâ¨ãã¨è¨ã£ã¦è©±ãç· ããããã ããï¼ int åã float åãªã©ï¼ãã¡ã¢
{{#tags}}- {{label}}
{{/tags}}