Cons vs Coss - What's the difference?
cons | coss |
(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)
----
(India) A measure of distance in India, varying from one and a quarter to two and a half English miles.
*1888 , Rudyard Kipling, ‘In Flood Time’, In Black and White , Folio Society 2005, pp. 410-11:
*:A full half koss from bank to bank is the stream now – you can see it under the stars – and there are ten feet of water therein.
As nouns the difference between cons and coss
is that cons is or cons can be (computing) a data structure in lisp that is a pair of pointers, car and cdr, used mainly for lists while coss is (india) a measure of distance in india, varying from one and a quarter to two and a half english miles.As a verb cons
is (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 or cons can be (con).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.