Javaã§Haskellçãªã³ã¼ããæ¸ããMapperã¯ã©ã¹ â ã¨ããããã§ããããªæã«ã¯Rubyã®ãããªåçè¨èªã使ã£ã¦ããå ´åã ã¨ããããªã«é常èãªè¨è¿°ãããªããã ããããããªæã d = sequence(a, b, c) do |ipod, panda, kingkong| new D(ipod, panda, kingkong); end ããã«é¢æ°è¨èªãªã¿ã¯å¾¡ç¨éã®Haskellã ã¨æ¬¡ã®ããã«ããã¡ãããã§ãã d = sequence a b c D ã®ã£ã¼ãç°¡æ½ãããããã£ä½ï¼ããªãã¯Javaããã°ã©ãã¼ã ã£ã¦ï¼ ããªããèªæ´èªæ£ã«ãªã£ã¦ãããèµ·ããã¾ãã«ãã¾ãã«ãã¾ã£ã¦ãã ãããã¾ã æã¿ã¯ããã¾ããã³ã¼ãã£ã³ã°ééã©ãã¯ãJavaã§ãç価ãªã³ã¼ããæ¸ãããã®ãä½ã£ã¦ãããã§ããï¼ ãããªããªãã®ããã«ãã®Mapperã¯ã©ã¹ããç¨æè´ãã¾ããï¼ï¼ãã«ãã¼é¢¨ã«è¨è¿°ããã¨ãã
{{#tags}}- {{label}}
{{/tags}}