[ create a new paste ] login | about

Link: http://codepad.org/QQRU8Gqp    [ raw code | fork ]

Plain Text, pasted on Dec 6:
1
2
3
4
5
6
7
8
(defn factorial-2
    ([n]
        (factorial-2 1 n)) ;;WHAT'S GOING ON HERE?!
    ([acc n]
        (if (= n 1)
            acc
            (recur (* n acc) (dec n)) ) ) )



Create a new paste based on this one


Comments: