[ create a new paste ] login | about

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

benjisimon - Scheme, pasted on Mar 16:
1
2
3
4
(define (foo x)
 (* x x x))

(display (map foo '(1 2 3 4 5 6)))


Output:
1
(1 8 27 64 125 216)


Create a new paste based on this one


Comments: