blob: 6698a990b6c0cb903f4cd2cdeac6e9e6b547b9a9 [file] [log] [blame]
let a = 1;
## retrieve meta ,null if not found
p(meta(a));
## associate key/value metadata to any objects by with_meta(obj, key, value)
a = with_meta(a, "key", seq.list(1, 2, 3));
p(meta(a)); ## {"key" => [1, 2, 3]}
p(meta(a, "key")); ## [1, 2, 3]
## remove metadata by without_meta(obj, key)
a = without_meta(a, "key");
p(meta(a));