A key-value composite where each value is bound with its key’s Sparkle. See Composites: Octopus for the conceptual overview.
oct = hv.Octopus(hv.Seed128(0, 42), ["color", "shape"], red, circle)
oct := hv.NewOctopus(hv.NewSeed128(0, 42), []string{"color", "shape"}, red, circle)
#![allow(unused)]
fn main() {
let oct = Octopus::new(Seed128::new(0, 42), keys, values);
}
oct.value_by_key("color") # returns the value, or raises ValueError
oct.ValueByKey("color") // HyperBinary — lookup by key
#![allow(unused)]
fn main() {
oct.value_by_key("color") // Option<&HyperBinaryKind>
}