complex-generic: complex numbers with non-mandatory RealFloat

[ bsd3, library, math ] [ Propose Tags ]

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.


Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

For package maintainers and hackage trustees


  • No Candidates
Versions [RSS] 0.1.1,
Dependencies base (<4.9), template-haskell (<2.11) [details]
License BSD-3-Clause
Author Claude Heiland-Allen
Revised Revision 1 made by ClaudeHeilandAllen at 2017-04-03T15:03:57Z
Category Math
Home page
Source repo head: git clone git://
this: git clone git:// v0.1.1)
Uploaded by ClaudeHeilandAllen at 2012-10-16T12:38:52Z
Distributions NixOS:
Downloads 2242 total (6 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]