Skip to main content

Module limits

Module limits 

Source
Expand description

The ceiling on how large a single value may be.

A shape is arithmetic: 1e12 $ 0 costs one multiplication to write and eight terabytes to hold. Verbs that build a result from a requested shape or count ask here first, so an impossible request comes back as an ordinary error pointing at the expression instead of as a process the operating system kills.

Constants§

MAX_ELEMENTS
The most elements one value may hold.

Functions§

count
A count already worked out, checked against the same ceiling.
elements
The number of elements a value of this shape holds.