Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Prev ¶
type Prev[T any] struct{ Value T }
Prev holds a cell's own previous output. A cell that takes one is stateful, and the toolchain requires it to take a Tick as well: a register needs a clock.
type Rand ¶
type Rand uint64
Rand is xorshift64*. Its state is a uint64 living inside the folded value, which is what makes the whole simulation a pure function of its seed.
Click to show internal directories.
Click to hide internal directories.