forked from rebolsource/r3
-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FEAT: CHANGE: possibility to enquire the element properties of vector…
…! values This commit also changes how are stored reflectors in `system/catalog`. Previously it was just block with names, now it contains also block with datatypes, which the reflector may be used with. For `vector` values, now there are probably defined all possible values to get its properties. Some of them: ``` >> v: make vector! [unsigned integer! 32 2] == make vector! [unsigned integer! 32 2 [0 0]] >> v/size == 32 >> size? v == 32 >> reflect v 'size == 32 >> query/mode v 'size == 32 >> v/type == integer! >> query v == make object! [ signed: false type: 'integer! size: 32 length: 2 ] >> query/mode v [size: type:] == [ size: 32 type: integer! ] >> query/mode v [size type signed] == [32 integer! false] >> spec-of v == [unsigned integer! 32 2] ``` Implements: metaeducation/rebol-issues#2352
- Loading branch information
Showing
6 changed files
with
177 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters