[ create a new paste ] login | about

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

Plain Text, pasted on Dec 6:
1
2
3
4
5
;; write an expression using iterate to return a list of squares of numbers btw 5 and 15

(map (fn[x] (* x x))(take 10(iterate inc 5)))

;(25 36 49 64 81 100 121 144 169 196)


Create a new paste based on this one


Comments: