@hackage complex-generic0.1.1.1
complex numbers with non-mandatory RealFloat
Categories
License
BSD-3-Clause
Maintainer
claude@mathr.co.uk
Links
Versions
Installation
Dependencies (2)
- base <4.14
- template-haskell <2.16 Show all…
Dependents (3)
@hackage/constructible, @hackage/acme-everything, @hackage/variable-precision
The base package's Data.Complex has a RealFloat requirement for
almost all operations, which rules out uses such as 'Complex Rational'
or 'Complex Integer'. This package provides an alternative, putting
most operations into additional type classes. Generating instances
with template haskell helps reduce excessive boilerplate and avoids
instance overlap.