CNMAT / CNMAT-odot

Multi-paradigm Dynamic Programming
Other
114 stars 11 forks source link

o.gui.attach update tests #357

Closed ramagottfried closed 3 years ago

ramagottfried commented 6 years ago

2. there's currently no way to tell if o.gui.attach has successfully set a value, or successfully attached to a new object -- consider adding a unattached outlet to provide more information about the attached state. this would mean not unioning unmatched addresses.
ramagottfried commented 6 years ago

issue 1. above is now fixed.

maccallum commented 3 years ago

@ramagottfried, did this ever get dealt with? Can you comment or close?

ramagottfried commented 3 years ago

it's been quite a while, but I believe this was a suggestion you made, and has been implemented a long time ago. There are now three outlets, the middle outlet sends out errors, and the rightmost outlet is a delegation outlet where unmatched (unattached) messages are routed. Seems to be working fairly well as far as I can tell.

The big change was that previously the object was union'ing the attached addresses with unattached messages -- but I think the updated design seems right, and makes sense that the delegation outlet handles unattached / unmatched addresses.