11-modules/geometry
Source: examples/11-modules/geometry.metta
Imports
This module has no imports.
Symbols
| Symbol | Kind | Type |
|---|---|---|
circle-area | function | (-> Number Number) |
square | function | (-> Number Number) |
Functions
circle-area
Kind: function
metta
(: circle-area (-> Number Number))The area of a circle, with a deliberately rough pi to keep it integer-friendly.
Source: examples/11-modules/geometry.metta:15
square
Kind: function
metta
(: square (-> Number Number))The square of a number.
Source: examples/11-modules/geometry.metta:11