Find the word definition

Crossword clues for cons


Etymology 1 n. (plural of con English) Etymology 2

n. (context computing English) A data structure in LISP that is a pair of pointers, car and cdr, used mainly for lists. vb. (context computing English) To obtain a list from a cons or a nesting of conses; to prepend an element to a list by forming a cons of that element and the list; to obtain a list from a smaller one by repeated application of such kind of prepending. Etymology 3

vb. (en-third-person singular of: con)


In computer programming, cons ( or ) is a fundamental function in most dialects of the Lisp programming language. cons constructs memory objects which hold two values or pointers to values. These objects are referred to as (cons) cells, conses, non-atomic s-expressions ("NATSes"), or (cons) pairs. In Lisp jargon, the expression "to cons x onto y" means to construct a new object with (cons ''x'' ''y''). The resulting pair has a left half, referred to as the car (the first element, or content of address register), and a right half (the second element, or content of decrement register), referred to as the cdr.

It is loosely related to the object-oriented notion of a constructor, which creates a new object given arguments, and more closely related to the constructor function of an algebraic data type system.

The word "cons" and expressions like "to cons onto" are also part of a more general functional programming jargon. Sometimes operators that have a similar purpose, especially in the context of list processing, are pronounced "cons". (A good example is the :: operator in ML, Scala, F# and Elm or the : operator in Haskell, which adds an element to the beginning of a list.)

Cons (disambiguation)

Cons may refer to:

  • cons, a fundamental function in all dialects of the Lisp programming language
  • CONS, one of the two OSI network layer protocols
  • CONS, a build automation Make replacement, written in PERL; succeeded by SCons
  • CoNS ( coagulase negative staphylococci), a group of round bacteria lacking the enzyme coagulase
  • Converse (shoe company), an American shoe manufacturer

Usage examples of "cons".

There's no Cons Op station in Madrid, no one cleared to relay the information, so I flew in Wednesday morning, signed for that goddamned steel container, and opened it in a room guarded by three marines.

The director of Cons Op fell silent for a moment, his eyes on the telephone.

The director of Cons Op replaced the phone, snapped the switch, and got up from his chair.

Sophisticated electronic scanners could pick up a location in a matter of minutes, and should any of those he reached be patched into equipment at the American embassy, it would be no different from his calling the Paris conduit of Cons Op and setting the time for his own execution.

It came direct from Cons Op, Washington, and will be listed in the embassy telephone logs, classified files.

The authorization can always be traced through the code-in this case through the director of Cons Op, Daniel Stem.

The woman working with a Cons Op field officer then in Barcelona is actually a member of the KGB.

I went to the classified files of Cons Op, removed Havelock's summary of Costa Brava under 'Chemical Therapy and took it home.

In seventeen minutes jenna would place her first call to Cons Op emergency.

He thought of Jenna, going from telephone booth to telephone booth five miles away on the mainland, reaching a bewildered Cons Op emergency operator and saying words that brought no response: there might never be a response.

The Cons Op agent unzipped the packet and took out the folded yellow pages.

According to the Cons Op records and a Lieutenant Colonel Lawrence Baylor, that man met with you in Athens.

It was when you were flown over for the Cons Op per~ 486 RoBjmT LuDLum sonnel evaluation, I think.

And regardless of Havelock's minor-very minor-attempt to stroke him, Charley Loring knew that the former Cons Op field man was getting some of his own back by claiming "reluctant privilege.

Jenna supported herself on the desk at Michael's side, looking over his shoulder as he studied the names and brief summaries of the men she had selected from the CIA, Cons Op, and Army intelligence reports.