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

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 :