mixed-types-num: Alternative Prelude with numeric and logic expressions typed bottom-up

[ bsd3, library, math ] [ Propose Tags ]

This package provides a version of Prelude where unary and binary operations such as not, +, == have their result type derived from the parameter type(s) and thus supports mixed-type arithmetic and comparisons.

See module MixedTypesNumPrelude for further documentation.

Ghci 8.0.* fails when loading this package due to ghc bug 13385. This bug does not affect ghci 7.10.3 and ghci 8.2.1.

Versions [faq] 0.1.0.0, 0.1.0.1, 0.2, 0.2.0.1, 0.3, 0.3.0.1, 0.3.1, 0.3.1.1, 0.3.1.2, 0.3.1.3, 0.3.1.4, 0.3.1.5, 0.3.2, 0.4.0, 0.4.0.1 (info)
Change log changelog.md
Dependencies base (>=4.8 && <4.10), convertible (>=1.1.1.0 && <1.2), hspec (>=2.1 && <2.5), hspec-smallcheck (>=0.3 && <0.5), QuickCheck (>=2.7 && <2.11), smallcheck (==1.1.*), template-haskell [details]
License BSD-3-Clause
Copyright (c) 2015-2017 Michal Konecny
Author Michal Konecny
Maintainer Michal Konecny <mikkonecny@gmail.com>
Category Math
Home page https://github.com/michalkonecny/mixed-types-num
Source repo head: git clone https://github.com/mikkonecny/mixed-types-num
Uploaded by MichalKonecny at Sun Jun 18 22:12:50 UTC 2017
Distributions LTSHaskell:0.3.1.5, NixOS:0.4.0.1, Stackage:0.4.0.1
Downloads 3049 total (257 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2017-06-18 [all 1 reports]

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees