Cons vs Tons - What's the difference?
cons | tons |
(computing) A data structure in LISP that is a pair of pointers, car and cdr, used mainly for lists.
(computing) 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.
(con)
----
(colloquial) A lot; a large quantity (of something).
As nouns the difference between cons and tons
is that cons is plural of lang=en while tons is plural of lang=en.As a verb cons
is 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.cons
English
Etymology 1
Noun
(head)Etymology 2
Abbreviation of construct .Noun
(conses)Synonyms
* cons cellVerb
(es)- In addition to specifying the whole list at once using square brackets and commas, you can build them up piece by piece using the (:) operator. This process is often referred to as consing.
Etymology 3
Verb
(head)tons
English
Noun
(head)- I have tons of pens, but none of them work.
- I love him tons .
