Top Qs
Chronologie
Chat
Contexte
cdr
De Wiktionnaire, le dictionnaire libre
Remove ads
Français
Étymologie
Nom commun
cdr \ku.dœʁ\ masculin
- (Programmation) La seconde partie du doublet en LISP, qui pointe le reste d’une liste.
- […] principe de base :
— chaque élément de la liste est représenté dans un doublet ;
— le car du doublet contient l’élément lui-même ;
— le cdr du doublet pointe sur le doublet suivant dans la liste ;
— le cdr du dernier doublet signale la fin de la liste par le marqueur de fin de liste,'(). — (Laurent Bloch et Jacques Arsac, Initiation à la programmation avec Scheme, 2000, page 84)
- […] principe de base :
Notes
- Ce nom ne prend généralement pas de -s au pluriel.
Antonymes
Vocabulaire apparenté par le sens
Traductions
Prononciation
- \ku.dœʁ\ (Il s’agit de la prononciation approximative d’après Wikilivres : Programmation Scheme/Grammaire de base.)
- France (Vosges) : écouter « cdr [Prononciation ?] »
Anagrammes
Voir aussi
Remove ads
Anglais
Étymologie
Nom commun
cdr \ˈku.dɚ\ ou \ˈkʌd.ɚ\ (États-Unis), \ˈkuː.də\ ou \ˈkʌd.ə\ (Royaume-Uni)
- (Programmation) Cdr en LISP.
The elements of a list are the successive cars along the “cdr chain.” That is, the elements are the car, the car of the cdr, the car of the cdr of the cdr, etc.
— (Matt Kaufmann, Panagiotis Manolios et J Strother Moore, Computer-aided reasoning: an approach, 2000)
Antonymes
Dérivés
- cadr
- caddr
- cddr
Vocabulaire apparenté par le sens
Verbe
cdr \ˈku.dɚ\ ou \ˈkʌd.ɚ\ (États-Unis), \ˈkuː.də\ ou \ˈkʌd.ə\ (Royaume-Uni)
- (Programmation) (Rare) (Avec down) Itérer récursivement utilisant cdr en LISP.
The first clause of the
— (Tony Hasemer, Common LISP Programming for Artificial Intelligence, 1989, ISBN 0201175797, page 424)doarranges for a local variable,check-lis, to be initialized to the value of the input list and then to be cdred down element by element on each cycle of the loop.Here are some more exercises in cdring down a list: a. Write a predicate that will determine whether or not a particular element is in a list. […]
— (Max Hailperin, Barbara Kaiser et Karl Knight, Concrete Abstractions: An Introduction to Computer Science Using Scheme, 1999, ISBN 0534952119, page 174)
Prononciation
Voir aussi
- CAR and CDR sur l’encyclopédie Wikipédia (en anglais)

Remove ads
Wikiwand - on
Seamless Wikipedia browsing. On steroids.
Remove ads