erlang: Feels like Prolog with actors

Tags: til programming erlang

Erlang has some similar surface syntax to Prolog:

Erlang does pattern matching (including unification) on function definition clauses:

fac(0) => 1;
fac(N) => N * fac(N-1).

Actor model:

Published on: 01 May 2026