Anglais modifier

Étymologie modifier

Ellipse de car of the cdr.

Nom commun modifier

Singulier Pluriel
cadr
\ˈkɑ.dɚ\
ou \ˈkɑː.də\
cadrs
\ˈkɑ.dɚz\
ou \ˈkɑː.dəz\

cadr \ˈkɑ.dɚ\ ou \ˈkeɪ.dɚ\ (États-Unis), \ˈkɑː.də\ ou \ˈkeɪ.də\ (Royaume-Uni)

  1. (Programmation) Car du cdr en LISP.
    • Combinations of car and cdr are so common that a naming scheme exists. For example, the cadr of a list is the car of the cdr and the caddr is the car of the cdr of the cdr, etc. If we let x denote the tree (1 2 3), then the car of x is 1, the cdr of x is (2 3), the cadr of x is 2, the caddr of x is 3, and the cdddr of x is nil. — (Matt Kaufmann, Panagiotis Manolios et J Strother Moore, Computer-Aided Reasoning: An Approach, 2012, ISBN 9781461544494, page 30)
    • For this example, after you’ve drawn the picture determine the car, cdr, and cadr of the list. Also, what sequence of cars and cdrs are needed to access the symbol g?
      (d e (f . g) h)
      — (Roy Harkow, Essential AutoLISP®, 2013, ISBN 9781461223504, page 79)

Vocabulaire apparenté par le sens modifier

Prononciation modifier

Gallo modifier

Étymologie modifier

Étymologie manquante ou incomplète. Si vous la connaissez, vous pouvez l’ajouter en cliquant ici.

Nom commun modifier

cadr \Prononciation ?\ masculin (graphie ELG)

  1. Cadre.

Références modifier