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.

Versions [faq] 0.1.1,
Dependencies base (<4.14), template-haskell (<2.16) [details]
License BSD-3-Clause
Author Claude Heiland-Allen
Revised Revision 4 made by ClaudeHeilandAllen at Wed Aug 28 00:59:47 UTC 2019
Category Math
Home page
Source repo head: git clone
this: git clone v0.1.1.1)
Uploaded by ClaudeHeilandAllen at Mon Apr 3 15:25:17 UTC 2017
Distributions NixOS:
Downloads 1757 total (81 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2017-04-03 [all 1 reports]




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