mixed-types-num: Alternative Prelude with numeric and logic expressions typed bottom-up
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.
Modules
[Index]
- Control
- MixedTypesNumPrelude
- Numeric
- Numeric.CollectErrors
- MixedTypes
- Numeric.MixedTypes.AddSub
- Numeric.MixedTypes.Bool
- Numeric.MixedTypes.Complex
- Numeric.MixedTypes.Elementary
- Numeric.MixedTypes.Eq
- Numeric.MixedTypes.Field
- Numeric.MixedTypes.Literals
- Numeric.MixedTypes.MinMaxAbs
- Numeric.MixedTypes.Ord
- Numeric.MixedTypes.PreludeHiding
- Numeric.MixedTypes.Ring
- Numeric.MixedTypes.Round
- Utils
Downloads
- mixed-types-num-0.3.1.1.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
Versions [RSS] | 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, 0.4.0.2, 0.4.1, 0.5.0.0, 0.5.0.1, 0.5.0.2, 0.5.0.3, 0.5.0.4, 0.5.1.0, 0.5.2.0, 0.5.3.0, 0.5.3.1, 0.5.4.0, 0.5.5.0, 0.5.6.0, 0.5.7.0, 0.5.8.0, 0.5.9.0, 0.5.9.1, 0.5.10, 0.5.11, 0.5.12, 0.6.0, 0.6.1, 0.6.2 (info) |
---|---|
Change log | changelog.md |
Dependencies | base (>=4.8 && <4.11), 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 && <1.2), template-haskell [details] |
Tested with | ghc ==7.10.3, ghc ==8.0.2, ghc ==8.2.1 |
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 2017-08-15T12:31:32Z |
Distributions | LTSHaskell:0.6.2, NixOS:0.5.12, Stackage:0.6.2 |
Reverse Dependencies | 7 direct, 0 indirect [details] |
Downloads | 14647 total (6 in the last 30 days) |
Rating | (no votes yet) [estimated by Bayesian average] |
Your Rating | |
Status | Docs available [build log] Last success reported on 2017-08-15 [all 1 reports] |