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.


  • v 0.1 * first release

  • v 0.2 new CollectErrors wrapper CN, specialisation of CollectErrors to NumErrors numerical partial operators (eg division) return a CN type instances for Data.Complex

  • v fix compilation bug in test suite minor doc improvements * fix Complex instances of error-throwing division (/!)

comments powered byDisqus