Macaulay2 » Documentation
Packages » PackageTemplate :: firstFunction
next | previous | forward | backward | up | index | toc

firstFunction -- a silly first function

Description

This function is provided by the package PackageTemplate.
i1 : firstFunction 1

o1 = Hello, World!
i2 : firstFunction 0

o2 = D'oh!

Ways to use firstFunction:

  • firstFunction(ZZ)

For the programmer

The object firstFunction is a method function.


The source of this document is in /build/reproducible-path/macaulay2-1.25.05+ds/M2/Macaulay2/packages/PackageTemplate.m2:66:0.