Closed mmontone closed 8 years ago
Just returned from vacation and am catching up on things. If you get this into a patch and submit it as a pull request (hopefully with tests (pretty please)), I will be happy to include it.
Ok. I'll see what I can do.
This seems to be a fixed issue! Thanks!
Hello.
I've been forced to patch the access library for the Djula template system (it uses this library for accessing), because I needed to know if an object was actually accessed, regardless of the result being NIL. In other words, in the current implementation, when access returns NIL, it is impossible to tell if a key with value NIL was accessed, or if the key could not be accessed. So, I introduced a second return value to the access function, indicating if the object value was accessed (like gethash does).
This is my wrapper, not a final implementation at all, but to show the idea, and I thought it could be interesting to add something like this to the library (look at the (values...) forms):