Home Online Manual
Top
Back: proc declaration
Forward: procs with different argument types
FastBack: poly
FastForward: resolution
Up: proc
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

4.16.2 proc expression

Syntax:
variable_name -> { expression(s) }
Purpose:
Defines a new function, within apply or for assigning.
Example:
 
  apply(1..3,x->{x**2});
==> 1 4 9

See apply; proc.