|
From: | Ivan Sokolov |
Subject: | bug#47875: Elisp reader doesn't handle keywords |
Date: | Sun, 06 Jun 2021 21:21:39 +0300 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Leo Prikler <leo.prikler@student.tugraz.at> writes: > You could define Elisp symbolp as > (lambda (thing) > (or (funcall (@ (guile) symbol?) thing) > (funcall (@ (guile) keyword?) thing))) You are right, I haven't thought about changing the implementaion of symbolp. > but perhaps there's an even faster way to check this property. Use guile-primitive instead of guile-ref? Both symbol? and keyword? are primitives.
[Prev in Thread] | Current Thread | [Next in Thread] |