Re: Introspection?
- Posted by katsmeow 1 week ago
- 334 views
Yanno, if type() could then know the name of the variable it was typechecking, and the name of the code block that called the typecheck, you could call code that executes if the typecheck fails, possibly fixing things up, and return something that makes less of a mess than an uncontrolled fatal error.
Or broadcast the variable has new contents. Or log time and what caused the data change. Or generate aux changes. So the Ai can know why it did that.
Kat