[ create a new paste ] login | about

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

cms - Scheme, pasted on Oct 16:
1
2
3
4
5
6
7
(let ((l '((4 3 1) (5 6 8))))
  (write (list-ref l 0)) ; get the element at index 0
) 

(let ((l '((4 3 1) (5 6 8))))
  (write (car l))
)


Output:
1
(4 3 1)(4 3 1)


Create a new paste based on this one


Comments: