Doubly-linked list/Element definition: Difference between revisions
Doubly-linked list/Element definition (view source)
Revision as of 09:59, 8 January 2018
, 6 years ago→{{header|PicoLisp}}
Line 651:
With that, 'cddr' can be used to access the next, and 'cadr' to access the
previous element.
<lang PicoLisp>(de 2tail (X DLst)
(let L (cdr DLst)
(con DLst (cons X L NIL))
|