Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

uvector? is only available with SRFI-4 loaded, but uvector-tag is always available #521

Open
jpellegrini opened this issue Mar 18, 2023 · 4 comments

Comments

@jpellegrini
Copy link
Contributor

I suppose the two should be either both in the stklos module or both in srfi/4 - no?

@lassik
Copy link
Contributor

lassik commented Mar 18, 2023

uvector-tag doesn't seem to be defined in SRFI 4.

@lassik
Copy link
Contributor

lassik commented Mar 18, 2023

What is uvector-tag?

stklos> (apropos "tag")
(tagbody)
stklos> (import (srfi 4))
stklos> (apropos "tag")
(tagbody)

@jpellegrini
Copy link
Contributor Author

What is uvector-tag?

Hmm, it's undocumented.

stklos> (uvector-tag (bytevector 2 3 4))
u8
stklos> (import (srfi 4))
stklos> (uvector-tag #s16(-1 2 3))
s16

@jpellegrini
Copy link
Contributor Author

Thinking about this - since uvector-tag can actually be used withoug the SRFI (for ordinary bytevectors), maybe it's ok as it is? (And this issue could be closed?)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants