| Copyright | (c) Michael Szvetits 2020 |
|---|---|
| License | BSD3 (see the file LICENSE) |
| Maintainer | typedbyte@qualified.name |
| Stability | stable |
| Portability | portable |
| Safe Haskell | Safe |
| Language | Haskell2010 |
Data.Propagator.Change
Description
This module exports the types and functions needed to describe changes of cell values.
Synopsis
- data Change a
- = Changed a
- | Unchanged
- | Incompatible
Documentation
A type which describes a potential change of a cell value.
Constructors
| Changed a | Indicates that a cell value has been changed to the new value |
| Unchanged | Indicates that a cell value did not change, i.e. needs no propagation. |
| Incompatible | Indicates that a new cell value contradicts the one that is already stored in the cell. |