forked from rebol/rebol
-
Notifications
You must be signed in to change notification settings - Fork 2
Reduce
angerangel edited this page Mar 19, 2013
·
1 revision
REDUCE value /no-set /only words /into out
Evaluates expressions and returns multiple results.
REDUCE is a native value.
- value
- /no-set -- Keep set-words as-is. Do not set them.
-
/only -- Only evaluate words and paths, not functions
- words -- Optional words that are not evaluated (keywords) (block! none!)
-
/into -- Output results into a block with no intermediate storage
- out (any-block!)
#SOURCE
reduce: make native! [ [
{Evaluates expressions and returns multiple results.}
value
/no-set "Keep set-words as-is. Do not set them."
/only "Only evaluate words and paths, not functions"
words [block! none!] "Optional words that are not evaluated (keywords)"
/into {Output results into a block with no intermediate storage}
out [any-block!]
] ]