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.17.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.


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
            User manual for Singular version 4.3.2, 2023, generated by texi2html.