up previous next
Untagged

untag an object
Syntax

Untagged(E:TAGGED_OBJECT):UNTAGGED_OBJECT


Description
This function strips an object E of its tag, if any. @E is equivalent to Untagged(E).

Tags are used for pretty printing of objects. See the reference listed below.

Example
  L := [1,2,3];
  M := Tagged(L,"MyTag");
  Type(L);
LIST
-------------------------------
  Type(M);
TAGGED("MyTag")
-------------------------------
  Type(Untagged(M));
LIST
-------------------------------


See Also