schmollf / gap

Main development repository for GAP - Groups, Algorithms, Programming, a System for Computational Discrete Algebra
http://www.gap-system.org
GNU General Public License v2.0
0 stars 0 forks source link

MitM_OM(Rationals), MitM_OM(Integers), (etc...) #4

Open markuspf opened 8 years ago

markuspf commented 8 years ago
gap> MitM_OM(Rationals);
"<OMA><OMS cd=\"scscp_transient_mitm\" name=\"\"/><OMI>1</OMI></OMA>"
gap> MitM_OM(Integers); 
"<OMA><OMS cd=\"scscp_transient_mitm\" name=\"\"/><OMA><OMS cd=\"list1\" name=\"list\"/><OMI>2</OMI></OMA></OMA>"
olexandr-konovalov commented 8 years ago

I would suggest having such objects treated in the same way like basic objects such as integers/floats/rationals/permutations etc. OpenMath has special symbols for them:

<OMOBJ> <OMS cd=\"setname1\" name=\"Q\"/> </OMOBJ>
<OMOBJ> <OMS cd=\"setname1\" name=\"Z\"/> </OMOBJ>

etc.