next | previous | forward | backward | up | top | index | toc | Macaulay2 web site
Macaulay2Doc :: Manipulator

Manipulator -- the class of all file manipulators

Description

A file manipulator is a type of list that, when put out to a file with << causes a chosen function to be applied to the file. Alternatively, a manipulator can be used the way a function is used.
i1 : f = new Manipulator from identity

o1 = f

o1 : Manipulator
i2 : stdio << f

o2 = stdio

o2 : File
i3 : f stdio

o3 = stdio

o3 : File

Functions and methods returning a manipulator :

Methods that use a manipulator :

Fixed objects of class Manipulator :

For the programmer

The object Manipulator is a type, with ancestor classes BasicList < Thing.