Get the latest tech news

McCarthy's Ambiguous Operator (2005)


Random code snippets, projects and musings about software from Eric Kidd, a developer and occasional entrepreneur.

Back in 1961, John McCarthy (the inventor of LISP) described an interesting mathematical operator called amb. Essentially, amb hates to be called with no arguments, and can look into the future to keep that from happening. However, it can rewind into the past whenever it sees trouble, and try a different coice.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of McCarthy

McCarthy

Photo of Ambiguous Operator

Ambiguous Operator