✨ ARCANUM RUNE DIFFICULTY: Apprentice Creational

The Singleton: Core of the Parallel Universe

Define an immutable global artifact binding the execution grid.

✧ GANG OF FOUR LINEAGE & ARCANUM ✧
GOF DESIGN PATTERN: Singleton
ARCANUM SCHOOL: Transmutation // Synthesis
SCRIBE / ARCHON: Joshua Edward McLaughlin Cox
CANONICAL REGISTRATION:
// CODEX INCANTATION //
module Leyline = {
  let essence_core : i32 = 42
  
  let global_grid [n] (x: [n]i32) : [n]i32 =
    map (+ essence_core) x
}
Runic Tags: #futhark #singleton #modules