Subject: Re: bug#47875: Elisp reader doesn't handle keywords

From: Ivan Sokolov <[email-masked]>
Date: Sun, 06 Jun 2021 21:21:39 +0300

Leo Prikler <[email-masked]> 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.