One-liner wars


games, programming
A game popular among hackers who code in the language APL (see write-only language and line noise). The objective is to see who can code the most interesting and/or useful routine in one line of operators chosen from APL’s exceedingly hairy primitive set. A similar amusement was practiced among TECO hackers and is now popular among Perl aficionados.
Ken Iverson, the inventor of APL, has been credited with a one-liner that, given a number N, produces a list of the prime numbers from 1 to N inclusive. It looks like this:
(2 = 0 +.= T o.| T) / T where “o” is the APL null character, the assignment arrow is a single character, and “i” represents the APL iota.
[Jargon File]
(2000-03-19)

Read Also:

  • One-lung

    [wuhn-luhng] /ˈwʌnˌlʌŋ/ adjective 1. having or equipped with only one lung. 2. Slang. (of an engine, automobile, etc.) having only one cylinder.

  • One-lunger

    [wuhn-luhng-er] /ˈwʌnˈlʌŋ ər/ noun, Slang. 1. a one-cylinder internal-combustion engine.

  • One-man

    [wuhn-man] /ˈwʌnˌmæn/ adjective 1. of or relating to, or operated, performed, or used by one person: a one-man office; a one-man band. 2. preferring or seeking romantic involvement with one man only: a one-man woman. adjective 1. consisting of or done by or for one man: a one-man band, a one-man show

  • One-man band

    noun a businessperson who works alone noun phrase An enterprise, business, etc, controlled by one person: The company had previously been run as a ”one-man show” (entry form 1921+, variant 1938+)

  • One-man show

    noun phrase An enterprise, business, etc, controlled by one person: The company had previously been run as a ”one-man show” (entry form 1921+, variant 1938+) Also, one-man band. A person who does or manages just about everything, as in This department is a one-man show—the chairman runs it all, or John conducts the interviews, writes […]


Disclaimer: One-liner wars definition / meaning should not be considered complete, up to date, and is not intended to be used in place of a visit, consultation, or advice of a legal, medical, or any other professional. All content on this website is for informational purposes only.