A simply way to extend numerical types to add infinity.
Includes 4 data types:
Both infinities: GADT
Positive infinity only: GADT
Both infinities, represented as upper and lower bound of type (well almost)
Positive infinity only, represented as upper bound of type
There's also rewrite rules in an attempt to make this all work as efficiently as possible (although unbenchmarked and untested).
|Dependencies||base (>=4.7 && <5) [details]|
|Copyright||Clinton Mead (2017)|
|Source repo||head: git clone https://github.com/clintonmead/affinely-extended.git|
|Uploaded||by clinton at 2017-04-05T06:41:11Z|
|Downloads||989 total (3 in the last 30 days)|
|Rating||(no votes yet) [estimated by Bayesian average]|
|Status||Docs uploaded by user
Build status unknown [no reports yet]