å æ¥ã®ã¤ã¥ãã æ°æã¡ã¨ãã¦ã¯ãç¿æ¥ã«ãã¢ãããããã£ããã®ã®ãäºæ³ä»¥ä¸ã«ã¯ã¾ããã¨ã«ãªããã¨ããããHaskellå¿ããããè³ã®Haskelléã®æ´»åãå¼±ããªã£ã¦ã¾ãã ä¸çªããã£ãã®ãã·ã³ãã«ã«ãªã¹ãã¨å®å¼æ°ã®ãªã¹ããããè¾æ¸ãä½ãå¼ã ss = [SYMBOL "x", SYMBOL "y", SYMBOL "z"] 㨠vs = [1, 2, 3] ãã [("x",1),("y",2),("z",3)] ãä½ãããã£ããã§ãããæåã«æ¸ããå¼ãããã [(s, v) | SYMBOL s <- ss, v <- vs] ãã¾è¦ãã¨åæ©çãªééãããã¦é ããããããªãã¾ãããããè©ä¾¡ããã¨ssã¨vsã®ç´ç©ãä½ã£ã¦ãã¾ãã¾ããå½ç¶ã æ£ããã¯ããã§ããã [(s, v) | (SYMBOL s, v) <- zip ss vs] ããã«æ°ä»ãã®ã«ä¸¸ä¸æ¥ä»¥ä¸ããã£ããªãã¦ãã©ãã ãå¼±ã£
{{#tags}}- {{label}}
{{/tags}}