[top][index]
search for:

printExamples -- print examples of use from documentation

printExamples f -- prints out the examples of code using the function f provided in the documentation for f.

i1 : printExamples partition

See also:

  • examples -- list the examples in documentation
  • document -- install documentation
  • Code:

         -- ../../../Macaulay2/m2/document.m2:428
         printExamples = f -> scan(examples f, i -> << i << endl)

    [top][index]
    search for: