Overview
| Artifact ID: | 0eea1814d8b63fa0d88736a5d2da4e9f2a95276d |
|---|---|
| Ticket: | 3598385fffffffffffffffffffffffffffffffff
[dict exists] doesn't produce an error for non-dict values |
| User & Date: | ferrieux on 2012-12-27 02:09:46 |
Changes
- icomment:
OK, here's my reasoning: Turning a tristate (bool + error) into a boolean loses information: what's gained by this intentional loss ? Given a tristate, a simple [catch] restores the simple yes/no behavior that seems to be so important. While with the current state, the accidental un-dictness of a value is silently disguised as an empty dict. Would you advocate for [lsearch] to just return false when SetListFromAny fails ?
- login: "ferrieux"
- mimetype: "text/plain"
- username: "ferrieux"