IIJ 社å ã§ãã£ããã¥ã¼ããªã¢ã« ç´ç²é¢æ°åè¨èªHaskellã®ç´¹ä» ãå¶ç´ããã°ã©ãã³ã°ã®ã¹ã¹ã¡ã ã®è³æãå ¬éãã¾ããã
IIJ 社å ã§ãã£ããã¥ã¼ããªã¢ã« ç´ç²é¢æ°åè¨èªHaskellã®ç´¹ä» ãå¶ç´ããã°ã©ãã³ã°ã®ã¹ã¹ã¡ã ã®è³æãå ¬éãã¾ããã
æ¨æ¥ãåéã«ãããªãã¨ã話ãã¾ããã Haskell ã§ããã°ã©ãã³ã°ããã¨ãã¯ãã¨ããããå¹çã®ãã¨ã¯å¿ããã ã¡ã¢ãªã¼ã¯ç¡éã«ããã¨èããã³ã³ãã¤ã©ã¼ã¨é 延è©ä¾¡ãé å¼µã£ã¦ãããã¨ä¿¡ããã Haskell ã§ã¯ what ãè¨è¿°ããã å¹çãèãã¦ããæç¹ã§ãhow ã§ããã what 㨠how ã¯ãåä¸è¦ãããã¡ã§ãããåºå¥ããã«ã¯è¨ç·´ãå¿ è¦ã å¤æ°ã¯åæåã§ããããåä»£å ¥ã§ããªãã ã ãããã¤ã³ããã¯ã¹ãå¿ è¦ãª for ã¯ãªãã ç¹°ãè¿ããæ¬è³ªãªããå帰ã§æ¸ãã åã«ãªã¹ããèµ°æ»ããããªã map ã使ãã ãªã¹ãå¦çãå¾æãªã®ã§ããªãã§ããªã¹ãã«è½ã¨ãè¾¼ãã ããä¸åº¦è¨ãããã©ãã¡ã¢ãªã¼ã¯ç¡éã«ããã¨èããããããªã¹ãã大ããã¦ãæ°ã«ããªãã è¡ãæ°ãã¦ã¿ã ãã¡ã¤ã«ã®è¡æ°ãæ°ããããã°ã©ã ãèããã¨ãã¾ããå½ä»¤åã®é ã§èããã¨ãä¸è¡ãã¤èªã¿è¾¼ã¿ãªãããã¡ã¤ã«ã®çµããã¾ã§ã«ã¼ãã
Haskellã¨ããããã°ã©ãã³ã°è¨èªãç¥ã£ã¦ãã¾ããï¼ å ¨ãèãããã¨ããªãã¨ãã人ãå¤ãããããã¾ãããããããååã®è¨èªãããã®ã¯ç¥ã£ã¦ãããã©ï¼ã©ããªè¨èªãã¯ç¥ããªãã¨ãã人ãããããããã¾ããããã§ãæè¿ã§ã¯ï¼ä¸é¨ã®å é²çãªã½ããã¦ã¨ã¢éçºè ã®éã§ï¼ä¸ç¨®ã®ãã¼ã ã¨è¨ããã»ã©ç±ççã«åãå ¥ãããã¦ãã¾ãã ãªããªãã°ï¼Haskellã¯æ§ã ãªåªããç¹å¾´ãæã£ã¦ããããã§ããæåã«ï¼ä»ã®è¨èªã«ã¯ãã¾ãè¦ãããªãéã ã£ãç¹é·ãä¸ã¤ã ãç´¹ä»ãã¦ã¿ã¾ãããããé 延è©ä¾¡ï¼lazy evaluationï¼æ æ°è©ä¾¡ã¨ãããï¼ãã§ãã é 延è©ä¾¡ã¨ã¯ï¼ä¸ããããå¤ãå¿ è¦ã«ãªãã¾ã§è©ä¾¡ï¼è¨ç®ï¼ããªãã¨ãããã¨ã§ãããã®æ§è³ªã«ããï¼ä¸å¿ è¦ãªè¨ç®ãè¡ãããç¡é§ããªãããã¨ãã§ãã¾ããã¾ãï¼ãæ½å¨çã«ç¡éã®å¤§ãããæã¤ãã¼ã¿æ§é ãã¨ãã£ãé常ã®ããã°ã©ãã³ã°è¨èªã§ã¯æ±ãã®é£ãããã®ãç´æ¥æ±ããããï¼ããç´æ¥ç
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}