☎️ ERLANG HIVE DIFFICULTY: Adept Creational

The Builder of the Hive Switchboard

Constructing complex spirit vessels step-by-step through the immaterium.

✧ GANG OF FOUR LINEAGE & ARCANUM ✧
GOF DESIGN PATTERN: Builder
ARCANUM SCHOOL: Transmutation // Vesselcraft
SCRIBE / ARCHON: Joshua Edward McLaughlin Cox
CANONICAL REGISTRATION:
// ERLANG PATTERN //
-module(the_builder).
-export([new/0, with_core/2, with_shell/2, build/1]).

new() -> #{}.
with_core(Vessel, Core) -> maps:put(core, Core, Vessel).
with_shell(Vessel, Shell) -> maps:put(shell, Shell, Vessel).
build(Vessel) -> {ok, Vessel}.

The Builder

We forge complex actors incrementally, layering psychic armor and logic cores before giving them the spark of life (process spawn).

Runic Tags: #erlang #actors #telepathy #switchboard #builder