Type Classes

Type Classes

Share this post

Type Classes
Type Classes
Adjacency

Adjacency

The most terse operator in any language is adjacency, or in other words, no operator at all.

Chris Martin's avatar
Chris Martin
Mar 11, 2015
∙ Paid
1

Share this post

Type Classes
Type Classes
Adjacency
Share

Languages try to allocate the most terse bits of syntax to the most common operations. The most terse operator is adjacency, or in other words, no operator at all. So the semantics of adjacency tend to reflect some central tenet of the language.

A quick code example:

a b c
  • In a lisp (adding some parens), this is "a list of a, b, and c". Adjacency is cons.

  • I…

Keep reading with a 7-day free trial

Subscribe to Type Classes to keep reading this post and get 7 days of free access to the full post archives.

Already a paid subscriber? Sign in
© 2025 Mission Valley Software LLC
Privacy ∙ Terms ∙ Collection notice
Start writingGet the app
Substack is the home for great culture

Share