Compose

angerangel edited this page Jan 2, 2013 · 1 revision
Clone this wiki locally

Table of Contents

USAGE

  COMPOSE value /deep /only /into out

DESCRIPTION

Evaluates a block of expressions, only evaluating parens, and returns a block. COMPOSE is a native value.

ARGUMENTS

  • value -- Block to compose

REFINEMENTS

  • /deep -- Compose nested blocks
  • /only -- Insert a block as a single value (not the contents of the block)
  • /into -- Output results into a block with no intermediate storage
    • out (any-block!)

SOURCE

compose: make native! [  [
    {Evaluates a block of expressions, only evaluating parens, and returns a block.}
    value "Block to compose"
    /deep "Compose nested blocks"
    /only {Insert a block as a single value (not the contents of the block)}
    /into {Output results into a block with no intermediate storage}
    out [any-block!]
] ]