Closed ym-han closed 1 month ago
Just to clarify: my current plan (which isn't necessarily final in any way) is to remove undefined
and replace it with unknown
and change the handling such that not any occurrence of undefined
causes a crash, but that certain operations can still be computed to non-unknown
values in the presence of unknown
, such as e.g. unknown || true
would yield true
.
There are many much more ambitious options, but I think this would be an incremental improvement most likely.
I'll start by summarizing the things I've encountered that may be relevant. These may or may not turn out to be different concepts or different kinds of 'unknown'; I just haven't thought enough about it.
'Unknowns' may come up...
The Oracle IA docs on uncertain: https://documentation.custhelp.com/euf/assets/devdocs/unversioned/IntelligentAdvisor/en/Content/Guides/Use_Intelligent_Advisor/Use_Policy_Modeling/Work_with_rules/Write_rules_logical_operators/CERTAIN_and_UNCERTAIN_operators.htm?Highlight=certain
My questions are:
unknown
value, for instance, in the same way that we currently have aundefined
term/expr in Simala?@mengwong please chime in if you agree or disagree with any of this