When viewed in html, words in the phrase hot link(s) to the documentation node(s) for the class(es).
i1 : ofClass class 3 o1 = an integer o1 : SPAN |
i2 : peek oo o2 = SPAN{"an ", TO2{Macaulay2Doc :: ZZ, "integer"}} |
i3 : ofClass Ring o3 = a ring o3 : SPAN |
i4 : needsPackage "Text" o4 = Text o4 : Package |
i5 : SPAN ofClass {HashTable, ProjectiveVariety} o5 = a hash table or a projective variety o5 : SPAN |
i6 : document { Key => foo, "We may need ", ofClass ZZ, " and ", ofClass HashTable, "." } |
i7 : help foo --loading the Macaulay2 documentation from /builddir/build/BUILD/M2-version-1.9.2/M2/Macaulay2/packages/Macaulay2Doc/ warning! This package is experimental. The interface will change, and although it passes its tests, it has not been fully debugged yet! In particular, in small characteristic, it *sometimes* might miss a component o7 = foo *** Description =========== We may need an integer and a hash table. For the programmer ================== The object "foo" is a symbol. o7 : DIV |