context? work?func[/local a][context? 'a] will return the function itselfa belongs to context b, which is associated with object c. does a store a reference to b and c, or does b store a reference to c (as well as c storing a reference to b)?a does store a reference to an anonymous context.b value is a reference to that anonyous contextred-context!: alias struct! [ header [integer!] ;-- cell header symbols [node!] ;-- array of symbol IDs values [node!] ;-- block of values (do not move this field!) self [node!] ;-- indirect auto-reference (optimization) ]
self is the reference to the object, or the context (being a cyclic reference)?a belongs to context b, which is associated with object c. does a store a reference to b and c, or does b store a reference to c (as well as c storing a reference to b)?ctx/node refers to a hashtable, and first value in that hash table contains the initial object/function (or maybe even 2nd value)selfself is configured in Red after spending a few hours trying to figure it out, and I think there's probably a better way to do it in the futurecompare action is now available for many more datatypes, including numbers and words