gas: Limit how many steps a program may take.
Programs constructed using free applicatives or free monads may be analyzed statically or dynamically (respectively). This package uses such analysis to limit the number of steps the program may take. This is useful for EDSLs with untrusted input, or in general when you want to guarantee termination by cutting off a program.
Note that this package does not avoid infinite loops in bottom values. Use the System.Timeout module for that instead.
|Dependencies||base (==4.11.*), free (>=5.0 && <6), transformers (==0.5.5.*) [details]|
|Source repo||head: git clone https://gitlab.com/semilattice/gas.git|
|Uploaded||by rightfold at 2018-08-14T18:59:10Z|
|Downloads||538 total (4 in the last 30 days)|
|Rating||(no votes yet) [estimated by Bayesian average]|
Docs available [build log]
Last success reported on 2018-08-14 [all 1 reports]
For package maintainers and hackage trustees