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

WISH: it should be allowed to use SIGNED as a word in vector construction dialect as an opposite to available UNSIGNED #2395

Open
Oldes opened this issue Jan 22, 2020 · 0 comments

Comments

@Oldes
Copy link

Oldes commented Jan 22, 2020

Current behaviour:

>> make vector! [unsigned integer! 32 4]
== make vector! [unsigned integer! 32 4 [0 0 0 0]]

>> make vector! [signed integer! 32 4]
** Script error: cannot MAKE/TO vector! from: [signed integer! 32 4]
** Where: make
** Near: make vector! [signed integer! 32 4]

I believe that it would be better to allow signed word as well, and so instead of the error have:

>> make vector! [signed integer! 32 4]
== make vector! [integer! 32 4 [0 0 0 0]]
@Oldes Oldes changed the title WISH: it should be allowed to use SIGNED as a word in vector construction dialect as a opposite to available UNSIGNED WISH: it should be allowed to use SIGNED as a word in vector construction dialect as an opposite to available UNSIGNED Jan 22, 2020
Oldes added a commit to Oldes/Rebol3 that referenced this issue Jan 22, 2020
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

1 participant