Jump to content

Rebol Programming/compose

From Wikibooks, open books for an open world

USAGE:

[edit | edit source]
COMPOSE value /deep /only 

DESCRIPTION:

[edit | edit source]

Evaluates a block of expressions, only evaluating parens, and returns a block.

COMPOSE is a native value.

ARGUMENTS

[edit | edit source]
  • value -- Block to compose (Type: any)

REFINEMENTS

[edit | edit source]
  • /deep -- Compose nested blocks
  • /only -- Inserts a block value as a block

SOURCE CODE

[edit | edit source]
compose: native[
    {Evaluates a block of expressions, only evaluating parens, and returns a block.} 
    value "Block to compose" 
    /deep "Compose nested blocks" 
    /only "Inserts a block value as a block"
]