peek2

peek2(s,n) -- displays contents of s to depth n, bypassing installed methods.

It applies the default output method to the object s, bypassing the installed method for objects of its class.

i1 : s = factor 112

      4
o1 = 2 7

o1 : Product
i2 : peek s

              4
o2 = Product{2 ,7}

o2 : Net
i3 : peek2(s,2)

o3 = Product{Power{2,4},Power{7,1}}

o3 : Net

See also peek.


topindexpreviousupnext