diff options
| author | Jakob L. Kreuze | 2023-03-14 18:05:16 -0400 |
|---|---|---|
| committer | Jakob L. Kreuze | 2023-03-14 18:05:16 -0400 |
| commit | e446f67898a05091b2f05df9ed81ca73764f6069 (patch) | |
| tree | 2877832b34a51ce9f19415a86f26fd08e8a923ba /haunt/jakob/dynamic | |
| parent | ab6edd57158574df80fe33138e99a317c64a0861 (diff) | |
Bug fixes
Diffstat (limited to 'haunt/jakob/dynamic')
| -rw-r--r-- | haunt/jakob/dynamic/util.scm | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/haunt/jakob/dynamic/util.scm b/haunt/jakob/dynamic/util.scm index 82df409..f6f0382 100644 --- a/haunt/jakob/dynamic/util.scm +++ b/haunt/jakob/dynamic/util.scm @@ -26,7 +26,8 @@ base64-length decode-form date<? - hash-append!)) + hash-append! + emoji?)) (define (assoc-value alist key) "Return the `car' of `(assoc alist key)' if truthy" @@ -99,7 +100,7 @@ Acceptable is the following subset: Notably, U+1F946 isn't normally treated an emoji, but it is here. I think it should be! As an American, I should be able to use pictographs to express my God-given constitutional rights!" - (and (string str) + (and (string? str) (= 1 (string-length str)) (let ((codepoint (char->integer (first (string->list str))))) |