The Singleton of the Ancestral Monad
Expressing the absolute uniqueness of the Ancestral Monad as a global pure value.
✧ GANG OF FOUR LINEAGE & ARCANUM ✧
GOF DESIGN PATTERN: Singleton
ARCANUM SCHOOL: Conjuration // Ancestral Monad
SCRIBE / ARCHON: Joshua Edward McLaughlin Cox
CANONICAL REGISTRATION:
// MIRANDA PATTERN //
|| The Ancestral Monad is the ultimate Singleton.
|| In Miranda, a top-level binding is evaluated at most once.
the_ancestral_monad :: string
the_ancestral_monad = "The One Pure Essence"
access_singleton :: string -> string
access_singleton caller = caller ++ " accesses " ++ the_ancestral_monad
Runic Tags:
#miranda
#creational
#singleton
#ancestral-monad