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 Wed Apr 5 06:41:11 UTC 2017|
|Downloads||426 total (21 in the last 30 days)|
|Rating||(no votes yet) [estimated by rule of succession]|
Docs uploaded by user
Build status unknown [no reports yet]
For package maintainers and hackage trustees