packages feed

function-instances-algebra-0.1: function-instances-algebra.cabal

-- function-instances-algebra.cabal auto-generated by cabal init. For
-- additional options, see
-- http://www.haskell.org/cabal/release/cabal-latest/doc/users-guide/authors.html#pkg-descr.
-- The name of the package.
Name:                function-instances-algebra

-- The package version. See the Haskell package versioning policy
-- (http://www.haskell.org/haskellwiki/Package_versioning_policy) for
-- standards guiding when and how versions should be incremented.
Version:             0.1

-- A short (one-line) description of the package.
Synopsis:            Instances of the Algebra.* classes for functions

-- A longer description of the package.
Description: This package provides instances for functions @(k -> a)@ of the classes    
  Absolute, Algebraic, Differential, Field, Lattice, Monoid, Ring and Transcendental
  from the numeric-prelude package. An instance for Additive already comes with the
  original package.
  .
  If @a@ has an instance for one of the classes, then @(k -> a)@ has too. 
  The instances do what you would expect. Values become constant functions:
  .
  @
    zero = const zero
  @
  .
  Unary functions are composed:
  .
  @
    sin f = sin . f
  @
  .
  Binary functions fan out the input and combine both results:
  .
  @
    f + g = \\x -> f x + g x
  @
  .
  You can either import them separately or import @Data.Function.Instances.Algebra@ to
  get them all at once.

-- URL for the project homepage or repository.
Homepage:            github.com/kreuzschlitzschraubenzieher/function-instances-algebra

-- The license under which the package is released.
License:             BSD3

-- The file containing the license text.
License-file:        LICENSE

-- The package author(s).
Author:              Tobias Brandt

-- An email address to which users can send suggestions, bug reports,
-- and patches.
Maintainer:          tob.brandt@gmail.com

-- A copyright notice.
-- Copyright:           

Category:            Math

Build-type:          Simple

-- Extra files to be distributed with the package, such as examples or
-- a README.
-- Extra-source-files:  

-- Constraint on the version of Cabal needed to build this package.
Cabal-version:       >=1.6


Library
  -- Modules exported by the library.
  Exposed-modules:
    Data.Function.Instances.Algebra
    Data.Function.Instances.Algebra.Absolute
    Data.Function.Instances.Algebra.Algebraic
    Data.Function.Instances.Algebra.Differential
    Data.Function.Instances.Algebra.Field
    Data.Function.Instances.Algebra.Lattice
    Data.Function.Instances.Algebra.Monoid
    Data.Function.Instances.Algebra.Ring
    Data.Function.Instances.Algebra.Transcendental
  
  -- Packages needed in order to build this package.
  Build-depends:
    base ==4.*, numeric-prelude ==0.3.*
  
  -- Modules not exported by this package.
  Other-modules:   
    Data.Function.Instances.Algebra.Internal
  
  -- Extra tools (e.g. alex, hsc2hs, ...) needed to build the source.
  -- Build-tools: