Codish Lexicon
One word for one meaning, One meaning for one word,
Symmetric opposites, Comprehensive classes.
A dictionary of computer programming names.
pos — temporal: position. distinct: positive, abs, index, key perl: [regex]: find or set the offset for the last/next m//g search† php: alias of current() &dagger. see: index aka: position mentioned: remove, shift, time, unshift ✍
index
— a key number for an ordered linear collection. finds the first value that matches a given value and returns its key number. otherwise returns -1 to indicate failure. opposite: last index aka: offset, pos python: list: L.index(value, [start, [stop]])
positive — a unary boolean function that returns whether a value is ge zero. opposite: negative related: abs distinct: pos is: sign mentioned: cardinality, integer, natural, signed, true, uint, whole ✍
abs
— absolute value. returns the positive reflection of negative integers, returning positive numbers as they were. a transitive function that maps integers into the natural number line. distinct: absolute is: stateless, idempotent related: neg python: abs(number)
key — an object that one can index into a collection to retrieve a value. php: fetch a key from an array &dagger. related: dict aka: id distinct: pos ✍
remove — removes a value from a collection, based on its value, not its key or position. opposite: insert distinct: del, erase aka: rm python: list: L.remove(value) remove first occurrence of value.† python: set: Remove an element from a set; it must be a member. If the element is not a member, raise a KeyError.† pertains: bag, collection aka: unlink mentioned: discard, strip, strop, trim begin, trim end, trim ✍
shift — to remove and return the first value of a linear collection. python: the idiom for shift in python is to pop with a position of zero. opposite: unshift, pop seuss: opposite: shoft, pish perl: [array]: remove the first element of an array, and return it† aka: array shift, dequeue, pip pertains: ordered opposite: shoft mentioned: bag, deque, list, queue ✍
time — the fourth dimension, measured as a pos from the start of a day to the end of a day. perl: [time]: return number of seconds since 1970† php: return current unix timestamp &dagger. mentioned: complexity function, moment ✍
unshift — to augment a linear collection in place by adding a value to the beginning, moving existing values rightward. python: the idiom for unshift in python is to use insert with a position of zero. aka: bump, propend, prepend seuss: pish perl: [array]: prepend more elements to the beginning of a list† aka: array unshift pertains: ordered opposite: push, shift mentioned: bag, deque, list ✍
last index — finds the last value that matches a given value and returns its key number. otherwise returns -1 to indicate failure. opposite: index mentioned: ondex ✍
find
— find the first value that matches a given value and return its key. otherwise, raise an exception. distinct: index aka: index of opposite: find last seuss: opposite: fond python: str: S.find(sub [,start [,end]])
number — concept: a whole, natural, integer, real, or complex numeric value. a transitive function that returns the corresponding number, usually limited to a subset of the real domain like int or float. ✍
ordered — pertains to collections that maintain the respective order of their contents. interfaces: list, queue, deque, stack attrs: push, pop, shift, unshift, first, last, begins, ends, trim left, trim right, rot left, rot right, chip, chop, erase implementations: array, chain related: sorted, unordered related: iterable ✍
| left | right |
|---|---|
| unshift | push |
| shift | pop |
| first | last |
| begins | ends |
| trim left | trim right |
| rot left | rot right |
| chip | chop |
linear — having 1 dimension. an array is a linear collection. related: scalar, planar, spatial, temporal aka: planar ✍
collection — a class of compound objects that contain and organize values. attrs: len, has, get, set, reset, getset, put, del, cut, insert, remove, discard, empty, erase classes: linear collection, planar collection, spatial collection seuss: que classes: dict related: compound ✍
first — returns the first element of a linear collection. is: stateless opposite: last related: pop seuss: opposite: forst pertains: ordered mentioned: chain, head, heap array, index, peek, queue, shift, tip ✍
list
— a linear collection that provides fast put, push, pop, shift, and unshift operations. an ordered nonunique linear collection. applies to directory listing. distinct: symbols includes: queue, deque, staque python: list()
str
— python: str(object)
unicode
— related: codepoint python: unicode(string [, encoding[, errors]])
array — an ordered linear collection implementation that employs a region of contiguous memory where each value is stored at an index offset from the beginning of the memory region. a linear collection that provides fast random access and iteration to its values with get, set, and iter. php: create an array &dagger. related: chain interface: linear collection, ordered ✍
hash array — an implementation of an unordered linear collection where each value or item has an intrinsic hash value that is used as a heuristic for the index at which it ought to be stored and retrieved within an array. aka: hash table interface: linear collection, unique, unordered ✍
heap array — a sorted collection with a stack interface that organizes its values in an array but conceptually modelling a tree, with parent and child vertexes reachable with expressions in terms of the node's index, such that the last value of the collection in sorted order is always the first value in the array. interface: linear collection ✍
ordinal — having a range that includes zero. a number that indicates a position (a cursor) by way of its index from zero. related: cardinal, nominal pertains to directions that are half way between two cardinal directions. includes: nw, ne, sw, se related: cardinal aka: subcardinal mentioned: enumerate, intercardinal, second ✍
put — insert a value at given key. for non-unique collections like an array or list, put does not replace the value at the given index, but bumps all successive values down 1 position. distinct: set, insert pertains: collection ✍
radix — the base number for a numeric notation that, when raised to the index of a digit, determines the multiplicative value of that digit. see: decimal, bin, hex, oct distinct: base, root mentioned: binary, digit, int, magnitude, mantissa, order of magnitude, radix32, radix36, radix64 ✍
range
— a lazy collection of values between a beginning and an ending with a step between each value. a range can have either an inclusive or exclusive end, with exclusive being default in index contexts, and inclusive default in counting contexts. attrs: begin, begon, step concept: in math, a range is the set of all possible output values of a relation given a particular domain of input values. python: range([start,] stop[, step])
slice — returns the corresponding values for a given range of indicies (indexy). is: stateless python: slice([start,] stop[, step]) Create a slice object. This is used for extended slicing (e.g. a[0:10:2]).† aka: array slice mentioned: indices ✍
tuple
— a linear collection of fixed length. tuples are generally used for records or structures where the value at each index has a particular meaning, but no name, distinguishing it from an object or class of objects (haskell) (python). includes: nuple, single, duple, triple, quadruple, quintuple, sextuple, septuple, octuple, nonuple, decuple, undecuple, duodecuple python: tuple()
| length | name |
|---|---|
| 0 | nuple |
| 1 | single |
| 2 | duple |
| 3 | triple |
| 4 | quadruple |
| 5 | quintuple |
| 6 | sextuple |
| 7 | septuple |
| 8 | octuple |
| 9 | nonuple |
| 10 | decuple |
| 11 | undecuple |
| 12 | duodecuple |
| 13 | tredecuple |
| 14 | quattuordecuple |
| 15 | quindecuple |
| 16 | sexdecuple |
| 17 | septendecuple |
| 18 | octodecuple |
| 19 | novemdecuple |
| 20 | vigenuple |
| 21 | unvigenuple |
| 22 | duovigenuple |
| 23 | trevigenuple |
| 24 | quattuorvigenuple |
| 25 | quinvigenuple |
| 26 | sexvigenuple |
| 27 | septenvigenuple |
| 28 | octovigenuple |
| 29 | novemvigenuple |
| 30 | trigenuple |
| 31 | untrigenuple |
| 32 | duotrigenuple |
| 33 | tretrigenuple |
| 34 | quattuortrigenuple |
| 35 | quintrigenuple |
| 36 | sextrigenuple |
| 37 | septentrigenuple |
| 38 | octotrigenuple |
| 39 | novemtrigenuple |
| 40 | quadragenuple |
| 41 | unquadragenuple |
| 42 | duoquadragenuple |
| 43 | trequadragenuple |
| 44 | quattuorquadragenuple |
| 45 | quinquadragenuple |
| 46 | sexquadragenuple |
| 47 | septenquadragenuple |
| 48 | octoquadragenuple |
| 49 | novemquadragenuple |
| 50 | quinquagenuple |
| 51 | unquinquagenuple |
| 52 | duoquinquagenuple |
| 53 | trequinquagenuple |
| 54 | quattuorquinquagenuple |
| 55 | quinquinquagenuple |
| 56 | sexquinquagenuple |
| 57 | septenquinquagenuple |
| 58 | octoquinquagenuple |
| 59 | novemquinquagenuple |
| 60 | sexagenuple |
| 61 | unsexagenuple |
| 62 | duosexagenuple |
| 63 | tresexagenuple |
| 64 | quattuorsexagenuple |
| 65 | quinsexagenuple |
| 66 | sexsexagenuple |
| 67 | septensexagenuple |
| 68 | octosexagenuple |
| 69 | novemsexagenuple |
| 70 | septuagenuple |
| 71 | unseptuagenuple |
| 72 | duoseptuagenuple |
| 73 | treseptuagenuple |
| 74 | quattuorseptuagenuple |
| 75 | quinseptuagenuple |
| 76 | sexseptuagenuple |
| 77 | septenseptuagenuple |
| 78 | octoseptuagenuple |
| 79 | novemseptuagenuple |
| 80 | octogenuple |
| 81 | unoctogenuple |
| 82 | duooctogenuple |
| 83 | treoctogenuple |
| 84 | quattuoroctogenuple |
| 85 | quinoctogenuple |
| 86 | sexoctogenuple |
| 87 | septoctogenuple |
| 88 | octooctogenuple |
| 89 | novemoctogenuple |
| 90 | nonagenuple |
| 91 | unnonagenuple |
| 92 | duononagenuple |
| 93 | trenonagenuple |
| 94 | quattuornonagenuple |
| 95 | quinnonagenuple |
| 96 | sexnonagenuple |
| 97 | septennonagenuple |
| 98 | octononagenuple |
| 99 | novemnonagenuple |
| 100 | centuple |
| 200 | bicentuple |
| 300 | tricentuple |
| 400 | quadricentuple |
| 500 | quincentuple |
| 600 | sexcentuple |
| 700 | septemcentuple |
| 800 | octocentuple |
| 900 | novemcentuple |
| 1,000 | millenuple |
| 2,000 | bimillenuple |
| 3,000 | trimillenuple |
| 4,000 | quadrimillenuple |
| 5,000 | quinmillenuple |
| 6,000 | sexmillenuple |
| 7,000 | septemmillenuple |
| 8,000 | octomillenuple |
| 9,000 | novemmillenuple |
| 10,000 | decemmillenuple |
negative — a unary boolean function that returns whether a value is lt zero. opposite: positive related: neg distinct: neg is: sign mentioned: abs, false, integer, signed, uint ✍
unary — describes functions that take one parameter. related: unit mentioned: boolean function, negative, positive, transitive function, transitive, unary function ✍
boolean function — a unary function that returns whether a value passes or fails a particular criterion or condition. is: function distinct: binary function distinct: binary relation mentioned: empty, filter, negative, positive ✍
ge — greater than or equal to. gt(a, b) is equivalent to not(lt(a, b)). is: binary relation invsere: lt aka: gte inverse: lt mentioned: long, positive ✍
zero — returns the arithmetic identity of a class, object, or group. this is a value that when added to any value of a particular class returns the same value. for numbers, this is the value of zero (0). for any collection class, this is an empty collection. for a string, this is a null string, "". for a tuple, this is the nuple. related: unit related: add, false, sub ✍
identity:
cardinality — math: size, magnitude, length, thus cardinality values are in the domain of zero and positive real numbers. see: cardinal, length ✍
integer — pertains to number values that are positive, negative, and zero, but have no mantissa. integers have arbitrary magnitude. distinct: int distinct: natural, whole mentioned: abs, bitwise, genericity, pointer, rational, real, ref ✍
natural — pertains to number values that are positive or zero. natural numbers have arbitrary magnitude. distinct: integer, whole, uint mentioned: abs, binary, digit, unsigned ✍
signed — pertains: integers that use their big bit to represent whether the int is positive or negative. negative integers are usually stored in "two's complement" form, meaning that, neg can be calculated with not and adding 1. opposite: unsigned is: int related: sign mentioned: int16, int32, int64 ✍
identity: neg(x) eq (not(x) add 1)
true
— a boolean value that corresponds to all things positive or affirmative. a non-zero value. aka: yes, nonzero python: bool(x)
uint — a magnitude-limited natural number. an unsigned int, meaning the most significant bit, the big end, does not represent whether the int is positive or negative, but rather adds another bit of precision. distinct: natural, whole ✍
whole — pertains to number values that are positive, but not zero. distinct: natural, integer, uint mentioned: digit ✍
neg — arithmetic negation. number: mul -1. integer: returns the two's complement, which means to not2 then add 1. distinct: not, not2, negative related: abs, negative mentioned: scalar, signed ✍
stateless — an attribute of a function that connotes that a function will always return the same result for given input. opposite: stateful classes: abs, absolute, add, div, first, mul, pad, reversed, slice, sub mentioned: expression, getset, transitive ✍
idempotent — (1.) of unary functions, converging on a return value when reapplied, as when the returned value of one application is passed back as a parameter. a unary function, f, is idempotent iff f(x) eq f(f(x)). (1.a.) an attribute of a unary function that denotes whether the function is idempotent for all values in its domain. (2.) of binary functions, returning the same value when that value is passed to both parameters. a value is idempotent for a binary function iff f(x, x) eq x. a binary function, g, is idempotent iff f(x, x) eq x for all x in its domain. (2.a.) a binary function that returns whether a particular value is idempotent for a given binary function, meaning f(x, x) eq x. (2.b.) an attribute of a binary function that denotes whether the function is idempotent for all values in the domain of both parameters. classes: abs, absolute, normal related: stateful ✍
absolute — returns the fully qualified path for a given path and the cwd. is: stateless, idempotent distinct: abs, normal, canonical ✍
transitive function — concept: a unary function that consistently returns the corresponding value in a range for a given key in a domain. distinct: relation, binary relation, transitive relation ✍
©2009 Kris Kowal
Codish Lexicon by Kris Kowal is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 United States License.
