ããã«ã¡ã¯ã å¾ã ã«æ¸ãããã¨ãåºãã£ã¦ãã¦ã¯ãã¾ãããã¾ã ï¼åã®ï¼ã ã¨ããããå°éã«ç¶ãã¾ãã åç« ã§è¿°ã¹ãJavaã®å¼ã³åºãã§è¿°ã¹ãæ¹æ³ã使ã£ã¦Javaãå¼ã¶ã®ãClojureã§ã¯æ®éã ããã§åºæ¬çã«ã¯ååã«é«éã®ã¯ãã ããããã«é«éåãè¡ããã¨ãã§ããã ããã¯å¤é¨IFã«ã¯å½±é¿ãä¸ããã«åºæ¥ããããå¾ãããã¥ã¼ãã³ã°ã»ã»ã»ã¨ãããã¨ãå¯è½ã 1.æ§è½ã®ããã«ããªããã£ãã使ã ããã¾ã§ã¯ãã©ã¡ã¼ã¿ã«åæ å ±ãã¤ãã¦ããªãã£ãã ï¼ã¡ã¿ãã¼ã¿ã§åãã³ããã¤ããããã¨ãããã¨ã«ã¤ãã¦ã¯æ¸ãã¦ã¾ãããã ããã¯ã³ã¼ãããã£ããããããããã®åãã¼ã¿åããããã«ãããªããæ§è½ä¸ã®ãªã¼ãããããçºçããã âããã®ããæ¹ãããã¯ã¿ã¤ãã³ã°ã¨ãã模æ§ã ä¾ã¨ãã¦ãï¼ããï½ã¾ã§è¶³ãåãããé¢æ°ãèããã (defn sum-to [n] (loop [i 1 sum 0] (if (<= i n
{{#tags}}- {{label}}
{{/tags}}