up previous next
untagged    --    untag an object


Syntax
untagged(E:TAGGED_OBJECT): OBJECT

Description
This function strips an object E of its tag, if any.

Tags are used for pretty printing of objects: see the reference Printing a Tagged Object.

NOTE: in CoCoA-4 the obsolete syntax @E should be replaced by untagged(E).

Example
/**/  L := [1,2,3];
/**/  M := tagged(L,"MyTag");
/**/  type(L);
LIST

/**/  type(M);
TAGGED("MyTag")

/**/  type(untagged(M));
LIST

See Also