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

frames -- get the frames associated to a closure

Synopsis

Description

This function is occasionally useful as a debugging tool.
i1 : f = (x,y,z) -> t -> t

o1 = f

o1 : FunctionClosure
i2 : g = f(111,222,"hi there")

o2 = g

o2 : FunctionClosure
i3 : frames g

o3 = {MutableList{...3...}, MutableList{}}

o3 : List
i4 : peek first oo

o4 = MutableList{111, 222, hi there}

Ways to use frames :

For the programmer

The object frames is a compiled function.