The Memento of Chronomancy
Saving and restoring the universe's state via temporal snapshots.
✧ GANG OF FOUR LINEAGE & ARCANUM ✧
GOF DESIGN PATTERN: Memento
ARCANUM SCHOOL: Chronomancy // Time Travel
SCRIBE / ARCHON: Joshua Edward McLaughlin Cox
CANONICAL REGISTRATION:
// CODEX INCANTATION //
module Memento
type state = { timeline_id: nat; paradox_level: nat }
type memento = state
let save_state (s: state) : memento = s
let restore_state (m: memento) : state = m
Capturing the temporal state into an immutable memento, ensuring that chronomancers can rollback paradoxes cleanly.
Runic Tags:
#memento
#chronomancy
#state-saving