The Proxy: The Intercepting Ward
Regulate and validate boundary access to critical array structures.
✧ GANG OF FOUR LINEAGE & ARCANUM ✧
GOF DESIGN PATTERN: Proxy
ARCANUM SCHOOL: Abjuration // Geometry
SCRIBE / ARCHON: Joshua Edward McLaughlin Cox
CANONICAL REGISTRATION:
// CODEX INCANTATION //
let proxy_access [n] (arr: [n]i32) (idx: i64) : i32 =
if idx >= 0 && idx < n then arr[idx] else -1
Runic Tags:
#futhark
#proxy
#bounds