REBOL 3 Docs Guide Concepts Functions Datatypes Errors
  TOC < Back Next >   Updated: 20-Jul-2009 Edit History  

REBOL 3 Concepts: Series: Series Datatypes

Pending Revision

This document was written for R2 and has yet to be revised for R3.

All series datatypes can be divided into two broad classes. Each includes a datatype value and a type test function.

Contents

Block Types

Block Type Description
block! Blocks of values
paren! Blocks of values enclosed in parentheses
path! Paths of values
list! Linked lists
hash! Associative arrays

String Types

String Type Description
string! Character strings
binary! Byte strings
tag! HTML and XML tags
file! File names
url! Internet uniform resource locators
email! Email names
image! Image data
issue! Sequence codes

Pseudo-types

Series datatypes are grouped into a few pseudo-types that make function argument and type testing easier:

Pseudo-type Description
[bad-link:datatypes/series.txt] A series datatype
[bad-link:datatypes/any-block.txt] Any of the block datatypes
[bad-link:datatypes/any-string.txt] Any of the string datatypes

Type Test Functions

Block type tests:

Block? Paren? Path? List? Hash?

String type tests:

String? Binary? Tag? File? URL?

Email? Image? Issue?

Other series type tests:

Series? Any-block? Any-string?


  TOC < Back Next > REBOL.com - WIP Wiki Feedback Admin