@hackage / complex-generic

complex numbers with non-mandatory RealFloat

Latest0.1.1.1

About

Metadata

  • Last updated , by ClaudeHeilandAllen
  • License BSD-3-Clause
  • Categories Mathematics
  • Maintained by: claude@mathr.co.uk

  • Lottery factor: 0

Links

Installation

Readme

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.