The K programming language
K is an APL-derived programming language which has more in common with line noise than with common code.
Example: Calculating the mean of a series of numbers:
X:1 2 3
(+/X)%#X
The first line defines a vector X
. The second line calculates the sum of all values (+/
) and divides (%
) it by the number of elements (#
).