Rebol Programming/reduce

USAGE:

edit
REDUCE value /only words 

DESCRIPTION:

edit

Evaluates an expression or block expressions and returns the result.

REDUCE is a native value.

ARGUMENTS

edit
  • value -- (Type: any)

REFINEMENTS

edit
  • /only -- Only evaluate words and paths, not functions
    • words -- Optional words that are not evaluated (keywords) (Type: block none)

SOURCE CODE

edit
reduce: native[
    {Evaluates an expression or block expressions and returns the result.} 
    value 
    /only "Only evaluate words and paths, not functions" 
    words [block! none!] "Optional words that are not evaluated (keywords)"
]