Discover Packages
code.eitanity.com/merilo
internal
impure
package
Version:
v0.1.1
Opens a new window with list of versions in this module.
Published: Nov 1, 2026
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package impure is an acceptance-test fixture: a machine whose
Fire consults a helper package's hidden state, so replaying the same
path can reach a different world.
Event is an input to Fire.
Machine flips between Even and Odd by the clock, not by its own state.
New returns a machine in Even.
Fire reads the clock: the impurity under test.
State returns the control state.
Mode is derived from State.
Outcome reports what Fire did.
const (
Moved Outcome
Invalid
)
Outcome values.
State is the control state.
Source Files
¶
Directories
¶
Package clock is a helper with hidden state, standing in for a wall clock: each call returns a different value.
Package clock is a helper with hidden state, standing in for a wall clock: each call returns a different value.
Click to show internal directories.
Click to hide internal directories.