Linked List - Language Support

Language Support

Many programming languages such as Lisp and Scheme have singly linked lists built in. In many functional languages, these lists are constructed from nodes, each called a cons or cons cell. The cons has two fields: the car, a reference to the data for that node, and the cdr, a reference to the next node. Although cons cells can be used to build other data structures, this is their primary purpose.

In languages that support abstract data types or templates, linked list ADTs or templates are available for building linked lists. In other languages, linked lists are typically built using references together with records.

Read more about this topic:  Linked List

Famous quotes containing the words language and/or support:

    This Light inspires, and plays upon
    The nose of Saint like Bag-pipe drone,
    And speaks through hollow empty Soul,
    As through a Trunk, or whisp’ring hole,
    Such language as no mortal Ear
    But spiritual Eve-droppers can hear.
    Samuel Butler (1612–1680)

    ... the outcome of the Clarence Thomas hearings and his subsequent appointment to the Supreme Court shows how misguided, narrow notions of racial solidarity that suppress dissent and critique can lead black folks to support individuals who will not protect their rights.
    bell hooks (b. c. 1955)