aboutsummaryrefslogtreecommitdiff
path: root/haunt/jakob/dynamic/util.scm
diff options
context:
space:
mode:
authorJakob L. Kreuze2023-03-14 18:05:16 -0400
committerJakob L. Kreuze2023-03-14 18:05:16 -0400
commite446f67898a05091b2f05df9ed81ca73764f6069 (patch)
tree2877832b34a51ce9f19415a86f26fd08e8a923ba /haunt/jakob/dynamic/util.scm
parentab6edd57158574df80fe33138e99a317c64a0861 (diff)
Bug fixes
Diffstat (limited to 'haunt/jakob/dynamic/util.scm')
-rw-r--r--haunt/jakob/dynamic/util.scm5
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)))))

© 2015 - 2026 Jakob L. Kreuze