Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generalized types for commonly convenient folds #33

Merged
merged 2 commits into from Mar 5, 2014
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 5 additions & 1 deletion Numeric/Units/Dimensional/DK/Prelude.hs
Expand Up @@ -3,6 +3,7 @@ module Numeric.Units.Dimensional.DK.Prelude
, module Numeric.Units.Dimensional.DK.Quantities
, module Numeric.Units.Dimensional.DK.SIUnits
, module Numeric.NumType.DK
, module Data.Foldable
, module Prelude
) where

Expand All @@ -19,10 +20,13 @@ import Numeric.NumType.DK
( neg5, neg4, neg3, neg2, neg1, zero, pos1, pos2, pos3, pos4, pos5
) -- Used in exponents.

import Data.Foldable
( product, minimum, maximum )

import Prelude hiding
( (+), (-), (*), (/), (^), (**)
, abs, negate, pi, exp, log, sqrt
, sin, cos, tan, asin, acos, atan, atan2
, sinh, cosh, tanh, asinh, acosh, atanh
, sum
, sum, product, minimum, maximum
) -- Hide definitions overridden by 'Numeric.Dimensional'.