Skip to content
angerangel edited this page Mar 19, 2013 · 1 revision

USAGE

   FUNCO spec body

DESCRIPTION

Non-copying function constructor (optimized for boot).

FUNCO is a function value.

ARGUMENTS

  • spec -- Help string (opt) followed by arg words (and opt type and string) (block!)
  • body -- The body block of the function (block!)

#SOURCE

funco: make function! [  [
    {Non-copying function constructor (optimized for boot).}
    spec [block!] {Help string (opt) followed by arg words (and opt type and string)}
    body [block!] "The body block of the function"
][
    make function! reduce [spec body]
] ]
Clone this wiki locally