Codish Lexicon

One word for one meaning, One meaning for one word,
Symmetric opposites, Comprehensive classes.
A dictionary of computer programming names.

postemporal: 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]]) -> integer -- return first index of value.   python: str: S.index(sub [,start [,end]]) -> int Like S.find() but raise ValueError when the substring is not found.   python: unicode: S.index(sub [,start [,end]]) -> int Like S.find() but raise ValueError when the substring is not found.   perl: [string]: find a substring within a string   distinct: find, pos

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) -> number Return the absolute value of the argument.   perl: [number]: absolute value function   php: absolute value &dagger.   distinct: pos   related: positive

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]]) -> int Return the lowest index in S where substring sub is found, such that sub is contained within s[start,end]. Optional arguments start and end are interpreted as in slice notation. Return -1 on failure.   python: unicode: S.find(sub [,start [,end]]) -> int Return the lowest index in S where substring sub is found, such that sub is contained within s[start,end]. Optional arguments start and end are interpreted as in slice notation. Return -1 on failure.   aka: array search

numberconcept: 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.

valuedata of any class.   see: def, variable   aka: datum   related: dict

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() -> new list; list(sequence) -> new list initialized from sequence's items.   php: assign variables as if they were an array &dagger.

strpython: str(object) -> string Return a nice string representation of the object. If the argument is a string, the return value is the same object.

unicoderelated: codepoint   python: unicode(string [, encoding[, errors]]) -> object Create a new Unicode object from the given encoded string. encoding defaults to the current default string encoding. errors can be 'strict', 'replace' or 'ignore' and defaults to 'strict'.

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

putinsert 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

see: Prefixes and Words Based on Latin Number Names.

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]) -> list of integers Return a list containing an arithmetic progression of integers. range(i, j) returns [i, i+1, i+2, ..., j-1]; start (!) defaults to 0. When step is given, it specifies the increment (or decrement). For example, range(4) returns [0, 1, 2, 3]. The end point is omitted! These are exactly the valid indices for a list of 4 elements.   php: create an array containing a range of elements &dagger.   mentioned: dict, slice, transitive function

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() -> an empty tuple; tuple(sequence) -> tuple initialized from sequence's items If the argument is a tuple, the return value is the same object.   classes: decuple, duodecuple, duple, nonuple, nuple, octuple, quadruple, quintuple, septuple, sextuple, single, triple, undecuple   aka: pair, record, struct, structure   mentioned: destructure, zero

Names of Tuples based on Length
lengthname
0nuple
1single
2duple
3triple
4quadruple
5quintuple
6sextuple
7septuple
8octuple
9nonuple
10decuple
11undecuple
12duodecuple
13tredecuple
14quattuordecuple
15quindecuple
16sexdecuple
17septendecuple
18octodecuple
19novemdecuple
20vigenuple
21unvigenuple
22duovigenuple
23trevigenuple
24quattuorvigenuple
25quinvigenuple
26sexvigenuple
27septenvigenuple
28octovigenuple
29novemvigenuple
30trigenuple
31untrigenuple
32duotrigenuple
33tretrigenuple
34quattuortrigenuple
35quintrigenuple
36sextrigenuple
37septentrigenuple
38octotrigenuple
39novemtrigenuple
40quadragenuple
41unquadragenuple
42duoquadragenuple
43trequadragenuple
44quattuorquadragenuple
45quinquadragenuple
46sexquadragenuple
47septenquadragenuple
48octoquadragenuple
49novemquadragenuple
50quinquagenuple
51unquinquagenuple
52duoquinquagenuple
53trequinquagenuple
54quattuorquinquagenuple
55quinquinquagenuple
56sexquinquagenuple
57septenquinquagenuple
58octoquinquagenuple
59novemquinquagenuple
60sexagenuple
61unsexagenuple
62duosexagenuple
63tresexagenuple
64quattuorsexagenuple
65quinsexagenuple
66sexsexagenuple
67septensexagenuple
68octosexagenuple
69novemsexagenuple
70septuagenuple
71unseptuagenuple
72duoseptuagenuple
73treseptuagenuple
74quattuorseptuagenuple
75quinseptuagenuple
76sexseptuagenuple
77septenseptuagenuple
78octoseptuagenuple
79novemseptuagenuple
80octogenuple
81unoctogenuple
82duooctogenuple
83treoctogenuple
84quattuoroctogenuple
85quinoctogenuple
86sexoctogenuple
87septoctogenuple
88octooctogenuple
89novemoctogenuple
90nonagenuple
91unnonagenuple
92duononagenuple
93trenonagenuple
94quattuornonagenuple
95quinnonagenuple
96sexnonagenuple
97septennonagenuple
98octononagenuple
99novemnonagenuple
100centuple
200bicentuple
300tricentuple
400quadricentuple
500quincentuple
600sexcentuple
700septemcentuple
800octocentuple
900novemcentuple
1,000millenuple
2,000bimillenuple
3,000trimillenuple
4,000quadrimillenuple
5,000quinmillenuple
6,000sexmillenuple
7,000septemmillenuple
8,000octomillenuple
9,000novemmillenuple
10,000decemmillenuple

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: x add x.class.zero = x

cardinalitymath: 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

signedpertains: 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) -> bool Returns True when the argument x is true, False otherwise. The builtins True and False are the only two instances of the class bool. The class bool is a subclass of the class int, and cannot be subclassed.   mentioned: bit, cond, if, truthy

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 functionconcept: 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

next

blog comments powered by Disqus