The Command
Encapsulating a spell cast as a gerund to be executed at a later cosmic alignment.
✧ GANG OF FOUR LINEAGE & ARCANUM ✧
GOF DESIGN PATTERN: Command
ARCANUM SCHOOL: Evocation // Time Delay
SCRIBE / ARCHON: Joshua Edward McLaughlin Cox
CANONICAL REGISTRATION:
// CODEX INCANTATION //
strike =: 3 : '''Striking '' , y'
shield =: 3 : '''Shielding '' , y'
NB. Commands as gerunds (boxed verbs)
cmd_strike =: strike ` ''
cmd_shield =: shield ` ''
queue =: cmd_strike , cmd_shield
NB. Execute queue
execute_all =: 3 : 0
for_cmd. y do.
(cmd@.) '' 'Target'
end.
)
Gerunds encapsulate verbs and their arguments, perfectly mirroring the Command pattern in a functional array paradigm.
Runic Tags:
#command
#gerunds
#queues
#execution