angerangel edited this page Dec 14, 2012 · 1 revision

Table of Contents

USAGE

  APPLY func block /only

DESCRIPTION

Apply a function to a reduced block of arguments. APPLY is a native value.

ARGUMENTS

  • func -- Function value to apply (any-function!)
  • block -- Block of args, reduced first (unless /only) (block!)

REFINEMENTS

  • /only -- Use arg values as-is, do not reduce the block

SOURCE

apply: make native! [  [
    "Apply a function to a reduced block of arguments."
    func [any-function!] "Function value to apply"
    block [block!] "Block of args, reduced first (unless /only)"
    /only "Use arg values as-is, do not reduce the block"
] ] 
Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.