The Abstract Factory: Arrays of Infinite Synthesis
Parameterize your array generations across modular parallel dimensions.
✧ GANG OF FOUR LINEAGE & ARCANUM ✧
GOF DESIGN PATTERN: Abstract Factory
ARCANUM SCHOOL: Transmutation // Synthesis
SCRIBE / ARCHON: Joshua Edward McLaughlin Cox
CANONICAL REGISTRATION:
// CODEX INCANTATION //
module type RuneFactory = {
type rune
val forge : i32 -> rune
val resonance : rune -> i32
}
module FireFactory : RuneFactory = {
type rune = i32
let forge (x: i32) = x * 2
let resonance (x: rune) = x + 10
}
Runic Tags:
#futhark
#gpu
#factory
#modules