▶

Building Depth-First Search in Dyalog APL

Dyalog · Tutorial · YouTube title: Depth-first search in APL
Why it's here

HN commenters call it a beautiful, brilliant demonstration of APL's expressiveness and a model of clear narration.

What it covers

John Scholes builds a depth-first tree-search operator step by step in a Dyalog APL session. It covers higher-order functions and runs the search on the N-Queens problem.