RosettaCodeData/Task/Singly-linked-list-Element-definition/Scheme/singly-linked-list-element-definition-2.scm
2024-10-16 18:07:41 -07:00

2 lines
104 B
Scheme

(car my-list) ; returns the first element of the list
(cdr my-list) ; returns the remainder of the list