Macaulay2 » Documentation
Packages » Macaulay2Doc :: Manipulator
next | previous | forward | backward | up | index | toc

Manipulator -- the class of all file manipulators


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.