Macaulay2 » Documentation
Packages » Macaulay2Doc » The Macaulay2 language » lists and sequences » MutableList » Bag » unbag
next | previous | forward | backward | up | index | toc

unbag

Description

i1 : x = 100!

o1 = 933262154439441526816992388562667004907159682643816214685929638952175999
     932299156089414639761565182862536979208272237582511852109168640000000000
     00000000000000
i2 : y = Bag {x}

o2 = -*a bagged integer*-

o2 : Bag
i3 : unbag y

o3 = 933262154439441526816992388562667004907159682643816214685929638952175999
     932299156089414639761565182862536979208272237582511852109168640000000000
     00000000000000

Ways to use unbag:

  • unbag(Bag)

For the programmer

The object unbag is a method function.


The source of this document is in /build/reproducible-path/macaulay2-1.25.05+ds/M2/Macaulay2/packages/Macaulay2Doc/ov_debugging.m2:785:0.