diff options
Abstract 'is-message?': returns #t for message and edited_message
- in 'resolve-query': return '() instead of default #f from 'alist-ref': this way it doesn't fail when passed to 'fold' and didn't find anything, which expects a list and not a boolean; cleaner also: always returns what it found, even if it's nothing (empty list)
- then: check for '() instead of #f
- change 'update-predicate' to expect a list of lists: e.g. the update can have _either_ (message text) _or_ (edited_message text) to be a message of type text
Diffstat (limited to 'example/guess.scm')
0 files changed, 0 insertions, 0 deletions