Name: yap Version: 0.0 Build-Depends: base >= 4.4 && < 5 Build-Type: Simple License: BSD3 license-file: LICENSE Author: Ross Paterson Maintainer: Ross Paterson Synopsis: yet another prelude - a simplistic refactoring with algebraic classes Description: A simple refactoring of the Prelude numeric classes, attempting backwards compatibility for clients by defining a few algebraic classes as superclasses of the Haskell 98 numeric classes. This yields the following class hierarchy (grey classes are unchanged): . <> . "Prelude.YAP" is an almost-compatible replacement for the standard Haskell Prelude, as long as you're not defining instances of the numeric classes (though defaulting will be affected). When importing it, turn on @RebindableSyntax@. . "Data.YAP.Algebra" contains just the new classes; you'll need to import it if you want access to the new names, including to define instances. . Other modules contain some example instances, including for the existing types @Complex@ and @Ratio@. Exposed-Modules: Data.YAP.Algebra Data.YAP.Complex Data.YAP.Matrix Data.YAP.Polynomial Data.YAP.Quantity Data.YAP.Ratio Data.YAP.Vector Prelude.YAP Other-Modules: Data.YAP.Algebra.Internal Prelude.YAP.Internal